Closed bdrtc closed 1 year ago
some audio codecs(opus, HE AAC) support specify encoder bitrate mode,
according section-2.1.8 of opus rfc6716 and opus api doc , opus encoder support VBR and CBR mode, and vbr was used by default.
we can use bitrateMode exist in mediastream-recording, constant correspond to CBR and variable correspond to VBR mode.
constant
variable
suggest to add audioBitrateMode in audio codec that support vbr/cbr mode, which specifes the BitrateMode that should be used to encode the audio track.
audioBitrateMode
This seems reasonable. I can edit the spec and codec registries in Q2.
Thanks for the suggestion!
some audio codecs(opus, HE AAC) support specify encoder bitrate mode,
according section-2.1.8 of opus rfc6716 and opus api doc , opus encoder support VBR and CBR mode, and vbr was used by default.
we can use bitrateMode exist in mediastream-recording,
constant
correspond to CBR andvariable
correspond to VBR mode.suggest to add
audioBitrateMode
in audio codec that support vbr/cbr mode, which specifes the BitrateMode that should be used to encode the audio track.