#540: Constant bitrate audio encoding with MediaRecorder
Discussions
2020-08-24
Tess: Very straightforward change to let authors request a bitrate mode, and also query what the bitrate mode is.
... Nice, straightforward proposal, good use cases.
... Only one quibble: Bitrate mode enum values are "vbr" and "cbr". I know what those mean, but it's obscure. It should be "constant" and "variable". The "bitrate" is already part of the API. I'll write that out in a comment.
Alice: Also it's hard to distinguish "v" and "b" via audio.
Tess: Right. I'll comment; Sangwhan might have additional concerns, so don't want to immediately close
OpenedJul 30, 2020
Hey TAG!
I'm requesting a TAG review of MediaRecorder support for constant & variable encoding bitrate modes.
MediaRecorder does not currently provide a way of specifying whether to encode constant or variable bitrate audio files, variable bitrate is assumed except in the case of uncompressed PCM.
The linked pull request updates the editors draft to allow either constant or variable bitrate encoding to be specified to the MediaRecorder through a new field on MediaRecorderOptions. A property is also added to the MediaRecorder to retrieve the current bitrate mode setting.
Further details:
We'd prefer the TAG provide feedback as (please delete all but the desired option):
💬 leave review feedback as a comment in this issue and @-notify @simoncent