--- title: MediaRecorder.audioBitsPerSecond slug: Web/API/MediaRecorder/audioBitsPerSecond translation_of: Web/API/MediaRecorder/audioBitsPerSecond ---
{{SeeCompatTable}}{{APIRef("MediaStream Recording")}}
audioBitsPerSecond
{{domxref("MediaRecorder")}} 接口的只读属性. 它返回录制器所使用的音频编码码率. 或许与构造函数中指定的比特率有些不同 (如果调用构造函数的时候有指定).
var audioBitsPerSecond = MediaRecorder.audioBitsPerSecond
{{jsxref("Number")}} (无符号长整型).
Specification | Status | Comment |
---|---|---|
{{SpecName('MediaStream Recording','#dom-mediarecorder-audiobitspersecond','audioBitsPerSecond')}} | {{Spec2('MediaStream Recording')}} | Initial definition. |
{{Compat("api.MediaRecorder.audioBitsPerSecond")}}