Tested exporting interviews where a recordings could be in either webm or wav and importing the resuting opal archive in opal.
Downloaded for each participant the file under the QuartzDemoQuestionnaire/MEDIA_RECORD_AUDIO.AUDIO_RECORDING.AUDIO_RECORDING variable. The file is playable using vlc and mpv. The file's extension is always ".AUDIO_RECORDING".
There does not seem to be any compatibility issue. The statement builder.mimeType("audio/x-wav"); in QuestionnaireStageVariableSourceFactory.java#652 should be chage or removed because it will no longer reflect the true mime type of the binary.
The binary file is a string in the export xml.
The only thing that might be wrong is the mime type reported in opal. For now it will always say "audio/x-wav"even if its not. This value does not affect anything. It is only there for information.
This was tested on linux chrome, firefox; windows chrome, firefox, edge.
Edge is the only one not working. Chrome has a https requirement in order to get ahold of the media stream.
Tested exporting interviews where a recordings could be in either webm or wav and importing the resuting opal archive in opal. Downloaded for each participant the file under the QuartzDemoQuestionnaire/MEDIA_RECORD_AUDIO.AUDIO_RECORDING.AUDIO_RECORDING variable. The file is playable using vlc and mpv. The file's extension is always ".AUDIO_RECORDING".
mpv will report the true format of the file:
There does not seem to be any compatibility issue. The statement builder.mimeType("audio/x-wav"); in QuestionnaireStageVariableSourceFactory.java#652 should be chage or removed because it will no longer reflect the true mime type of the binary. The binary file is a string in the export xml.
The only thing that might be wrong is the mime type reported in opal. For now it will always say "audio/x-wav"even if its not. This value does not affect anything. It is only there for information.
This was tested on linux chrome, firefox; windows chrome, firefox, edge. Edge is the only one not working. Chrome has a https requirement in order to get ahold of the media stream.