[Log] Webcam permission error
Error: MediaRecorder is not supported
I am trying to record audio. Audio recording is working fine in Chrome Browser. But throwing an error in Safari.
global.audioStream = await navigator.mediaDevices.getUserMedia({ audio: true });
global.audioChunks = [];
const canRecord = MediaRecorder.isTypeSupported('video/webm; codecs=vp8');
Can anyone help?
MediaRecorder API is supported in Safari from version 14.1 (Released 2021-04-26).
There are 2 ways how to handle this issue: