We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello Muaz-khan and other contributors!
Running this code:
navigator.mediaDevices .getUserMedia({ video: { deviceId: { exact: this.selectedVideoDeviceId }, // width: { ideal: 99999 }, // height: { ideal: 99999 } }, audio: { deviceId: { exact: this.selectedAudioDeviceId } }, }) .then(async (stream: MediaStream) => { const sleep = m => new Promise(r => setTimeout(r, m)); this.recorder = new RecordRTC(stream, { type: 'video', mimeType: 'video/webm;codecs=vp8', previewStream: () => { } }); ///rest of code..
Throws this error:
The text was updated successfully, but these errors were encountered:
For a while, my workaround was that:
let navigatorCodec:RecordRTC.Options['mimeType'] = 'video/webm;codecs=vp8'; if (navigator.userAgent.includes('Firefox')) { navigatorCodec='video/webm;codecs=h264' }
Sorry, something went wrong.
No branches or pull requests
Hello Muaz-khan and other contributors!
Running this code:
Throws this error:
The text was updated successfully, but these errors were encountered: