MediaRecorder.videoBitsPerSecond

Experimental: This is an experimental technology
Check 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
MediaStream Recording
# dom-mediarecorder-videobitspersecond

Browser compatibility

BCD tables only load in the browser