[mediacapture-record] Ability to specify constant bit rate encoding in MediaRecorder options. (#183)

sizeak has just created a new issue for https://github.com/w3c/mediacapture-record:

== Ability to specify constant bit rate encoding in MediaRecorder options. ==
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:

```
const mediaRecorder = new MediaRecorder(stream, {
  mimeType: 'audio/webm; codecs=opus',
  audioBitsPerSecond: 128000,
  audioConstantBitRate: true
});
```

Please view or discuss this issue at https://github.com/w3c/mediacapture-record/issues/183 using your GitHub account

Received on Tuesday, 3 September 2019 10:49:16 UTC