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
{{ message }}
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.
2018-06-30T23:26:57.129Z |
RecognitionEndedEvent |
metadata: {} |
requestId: A7B... |
audioSourceId: 14C... |
audioNodeId: EAA... |
connectionId: <NULL> |
authFetchEventId: <NULL> |
status: 1 |
error: 'Unhandled callback error: 'Unhandled callback error: NotSupportedError: Failed to construct 'MediaRecorder': Failed to initialize native MediaRecorder the type provided (audio/ogg) is not supported.'' |
serviceTag: <NULL>
What's worse, got multiple JS errors afterward and the microphone audio channel is kept opened (keep showing record red icon on tab).
It seems all browsers does not support Opus. Tried to run new MediaRecorder(stream, { mimeType: 'audio/ogg' }) in F12 console:
VM57:1 Uncaught DOMException: Failed to construct 'MediaRecorder': Failed to initialize native MediaRecorder the type provided (audio/ogg) is not supported.
at <anonymous>:1:1
The text was updated successfully, but these errors were encountered:
Only FireFox support audio/ogg; codecs=opus for MediaRecorder.
But even with firefox, this sample doesn't work for Opus. Server will not recognize Ogg/Opus
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Tested on PC with Chrome 67.0.3369.99 and Edge 17.17134. And also Chrome 67 on Android. All failed with same error.
Following the sample code at
https://docs.microsoft.com/en-us/azure/cognitive-services/speech/api-reference-rest/websocketprotocol#opus.
When starting recognition, console says:
What's worse, got multiple JS errors afterward and the microphone audio channel is kept opened (keep showing record red icon on tab).
It seems all browsers does not support Opus. Tried to run
new MediaRecorder(stream, { mimeType: 'audio/ogg' })
in F12 console:The text was updated successfully, but these errors were encountered: