This is an experimental technologyCheck the Browser compatibility table carefully before using this in production.
The videoBitsPerSecond
read-only property of the MediaRecorder
interface returns the video encoding bit rate in use. This may differ from the bit rate specified in the constructor, if it was provided.
Syntax
var videoBitsPerSecond = MediaRecorder.videoBitsPerSecond
Value
A Number
(unsigned long).
Example
// TBD
Specifications
Specification | Status | Comment |
MediaStream RecordingThe definition of 'videoBitsPerSecond' 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.
Update compatibility data on GitHub
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
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.
MediaRecorder.videoBitsPerSecond by Mozilla Contributors is licensed under CC-BY-SA 2.5.