This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The audioBitsPerSecond
read-only property of the MediaRecorder
interface returns the audio encoding bit rate in use. This may differ from the bit rate specified in the constructor (if it was provided).
Syntax
var audioBitsPerSecond = MediaRecorder.audioBitsPerSecond
Value
A Number
(unsigned long).
Specifications
Specification | Status | Comment |
---|---|---|
MediaStream Recording The definition of 'audioBitsPerSecond' in that specification. |
Working Draft | Initial definition. |
Browser Compatibility
The compatibility table in this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
audioBitsPerSecond | Chrome Full support 49 | Edge Full support 79 | Firefox Full support 71 | IE No support No | Opera Full support 36 | Safari No support No | WebView Android Full support 49 | Chrome Android Full support 49 | Firefox Android ? | Opera Android Full support 36 | Safari iOS No support No | Samsung Internet Android Full support 5.0 |
Legend
- Full support
- Full support
- No support
- No support
- Compatibility unknown
- Compatibility unknown
- Experimental. Expect behavior to change in the future.
- Experimental. Expect behavior to change in the future.