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).


var audioBitsPerSecond = MediaRecorder.audioBitsPerSecond


A Number (unsigned long).


Specification Status Comment
MediaStream Recording
The definition of 'audioBitsPerSecond' in that specification.
Working Draft Initial definition.

Browser Compatibility

Update compatibility data on GitHub
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
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


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.