Is there a way to record audio in flac codec instead of opus codec? I attempted setting the codec to flac like this:
let blob = new Blob(audioChunks,{type: 'audio/ogg; codecs=flac' });
I also tried this:
var options = {
audioBitsPerSecond : 32000,
mimeType: 'audio/ogg; codecs=flac'
}
var mediaRecorder = new MediaRecorder(audioStream,options);
However, after recording and saving the audio, when I check the properties it indicates that the codec used is opus.