I'm working on a project where we use the MediaRecorder to compress audio to Opus. I need a constant bitrate (CBR) file and while it is possible to specify the audio bitrate to the MediaRecorder, it isn't possible to disable the VBR mode of the Opus encoder, which causes it to use the bitrate as an average bitrate (ABR mode).
I'd like to add an option to MediaRecorder to specify that I'd like a CBR audio file to be encoded, for example:
I'm working on a project where we use the MediaRecorder to compress audio to Opus. I need a constant bitrate (CBR) file and while it is possible to specify the audio bitrate to the MediaRecorder, it isn't possible to disable the VBR mode of the Opus encoder, which causes it to use the bitrate as an average bitrate (ABR mode).
I'd like to add an option to MediaRecorder to specify that I'd like a CBR audio file to be encoded, for example: