Index: openacs-4/packages/proctoring-support/lib/proctoring-upload.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/proctoring-support/lib/proctoring-upload.tcl,v diff -u -r1.1.2.18 -r1.1.2.19 --- openacs-4/packages/proctoring-support/lib/proctoring-upload.tcl 4 Mar 2022 09:55:28 -0000 1.1.2.18 +++ openacs-4/packages/proctoring-support/lib/proctoring-upload.tcl 20 Apr 2023 14:52:55 -0000 1.1.2.19 @@ -43,6 +43,12 @@ -object_id $object_id -user_id $user_id] if {$type eq "audio"} { + # + # Audios are assumed to be webm files. One could do better and + # peek into the file like we do in the commented line, + # however, this would not scale. Exec-free solutions are + # welcome! + # # set mime_type [exec [util::which file] --mime-type -b ${file.tmpfile}] set mime_type video/webm } else {