use mimeType video/webm with vp9 video and opus audio
This commit is contained in:
parent
2e5f83411d
commit
4f2f629283
1 changed files with 3 additions and 1 deletions
|
|
@ -91,7 +91,9 @@ export default function Recorder({ closeModal, step, setStep }: Props) {
|
|||
setStream(mediaStream);
|
||||
recorderRef.current = new RecordRTC(mediaStream, {
|
||||
type: "video",
|
||||
mimeType: "video/webm;codecs=vp8",
|
||||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||
// @ts-ignore
|
||||
mimeType: 'video/webm;codecs="vp9,opus"',
|
||||
});
|
||||
recorderRef.current.startRecording();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue