-
Notifications
You must be signed in to change notification settings - Fork 56
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 #540
Comments
Hi @simoncent, Thanks for bringing this to us. Overall, this looks like a very reasonable, incremental API improvement to me. I have one concern, with the values of your enum BitrateMode {
"cbr",
"vbr"
}; Maybe don't abbreviate these? I think |
Also, we generally recommend that folks make their explainers available in Markdown or HTML; Google Docs is not globally accessible, but participants in web standards are. |
That sounds reasonable to me, I'll open a PR to update the editors draft with the change.
Thanks for the tip, are you highlighting this for future reference or are you requesting that I replace the explainer for this issue? Thanks for your time! |
Thanks! I haven't been able to track this PR down; did you file it?
Both, I think. |
We left an issue on your end - but the group is happy with the proposal and think this can be closed. Thanks for bringing this to our attention! |
No, sorry I haven't gotten to it yet, I haven't forgotten about it though, it's on my list. I will post a link here when I open it.
OK, thanks, I'll look into replacing it when I get time. |
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.
audioBitrateMode
property ofMediaRecorder
. web-platform-tests/wpt#24666audioConstantBitRate
flag toMediaRecorderOptions
. w3c/mediacapture-record#185audioConstantBitRate
flag toMediaRecorderOptions
. w3c/mediacapture-record#185Further 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
The text was updated successfully, but these errors were encountered: