MediaRecorder.audioBitsPerSecond

Experimental

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
MediaStream Recording
# dom-mediarecorder-audiobitspersecond

Browser compatibility

BCD tables only load in the browser