Add support for encoding CBR audio files with `MediaRecorder`.
The `MediaRecorder` spec was recently updated to allow either constant bitrate (CBR) or variable bitrate (VBR) encoding to be specified with `MediaRecorderOptions`, previously VBR was assumed when using anything other than uncompressed PCM. This change adds support for the updated specification and for enabling the hard CBR mode of the Opus encoder when CBR mode is configured for the `MediaRecorder`. Intent-to-ship: https://groups.google.com/a/chromium.org/g/blink-dev/c/ewJTgBMTxGg/m/w2qGgVCeAQAJ Bug: 980559 Change-Id: I2e4d6305e951dedfbbcd2447b69fc4f81209a3e3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1731907Reviewed-by:Chris Harrelson <chrishtr@chromium.org> Reviewed-by:
Felicia Lim <flim@chromium.org> Reviewed-by:
Markus Handell <handellm@google.com> Reviewed-by:
Miguel Casas <mcasas@chromium.org> Reviewed-by:
Guido Urdaneta <guidou@chromium.org> Commit-Queue: Chrome Cunningham <chcunningham@chromium.org> Cr-Commit-Position: refs/heads/master@{#842887}
Showing
Please register or sign in to comment