-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Constant bitrate audio encoding with MediaRecorder #414
Comments
I note that neither the explainer nor the other linked documents explain a use case. The person who requested said they "need" this, and later comments took it as a given that CBR for audio is common. However, it was not explained what use cases are enabled by CBR than now fail due to |
cc @jan-ivar |
I am the person who needed this and CBR audio is common. I have an open task to update the explainer with more information, but in short, CBR gives me predicable packet and file sizes which can be useful in a number of situations, it can also be less resource intensive to encode and can give higher quality. I have use cases which require CBR encoding, without implementing support in MediaRecorder I would be forced to ship a WASM alternative which would have performance implications. |
The explainer has now been updated. |
Request for Mozilla Position on an Emerging Web Specification
audioConstantBitRate
flag toMediaRecorderOptions
. w3c/mediacapture-record#185Other information
A new enumeration (
BitrateMode
) has been added for specifying either constant or variable bitrate for audio encoding,MediaRecorderOptions
has an extra field calledaudioBitrateMode
for requesting a specific bitrate mode from theMediaRecorder
and a field was added toMediaRecorder
for retrieving the bitrate mode being used for encoding.The text was updated successfully, but these errors were encountered: