Skip to content

Commit efa6b88

Browse files
committed
pushing opus
1 parent c19623c commit efa6b88

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/controllers/ComponentController.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ export function ComponentController() {
9393
navigator.mediaDevices.getUserMedia({
9494
audio: true,
9595
}).then((s) => {
96-
const recorder = new MediaRecorder(s, { mimeType: 'audio/webm' });
96+
const recorder = new MediaRecorder(s, { mimeType: 'audio/webm; codecs=opus' });
9797
audioStream.current = recorder;
9898
audioStream.current.start();
9999
storeDispatch(setIsRecording(true));

0 commit comments

Comments
 (0)