You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You already using the extendable-media-recorder library as a dependency, which adds the support of using "audio/wav" for audio recording.
but this line of code is throwing an error when I set the { mimeType: "audio/wav"}
if(!MediaRecorder.isTypeSupported(mediaRecorderOptions.mimeType)){console.error(`The specified MIME type you supplied for MediaRecorder doesn't support this browser`,);}
because "audio/wav" is not natively a supported format by the browser
Please consider fixing this
I would suggest something like:
if(!MediaRecorder.isTypeSupported(mediaRecorderOptions.mimeType)&&mediaRecorderOptions.mimeType.toLowerCase()!=="audio/wav"){console.error(`The specified MIME type you supplied for MediaRecorder doesn't support this browser`,);}
The text was updated successfully, but these errors were encountered:
You already using the
extendable-media-recorder
library as a dependency, which adds the support of using"audio/wav"
for audio recording.but this line of code is throwing an error when I set the
{ mimeType: "audio/wav"}
because
"audio/wav"
is not natively a supported format by the browserPlease consider fixing this
I would suggest something like:
The text was updated successfully, but these errors were encountered: