MediaRecorder.audioBitsPerSecond

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

DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
audioBitsPerSecond
Experimental
Chrome Full support 49Edge Full support 79Firefox Full support 71IE No support NoOpera Full support 36Safari No support NoWebView Android Full support 49Chrome Android Full support 49Firefox Android ? Opera Android Full support 36Safari iOS No support NoSamsung 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.