---
title: MediaRecorder.audioBitsPerSecond
slug: Web/API/MediaRecorder/audioBitsPerSecond
tags:
  - API
  - Audio
  - Media Recorder API
  - MediaRecorder
  - Property
  - Reference
browser-compat: api.MediaRecorder.audioBitsPerSecond
---
{{SeeCompatTable}}{{APIRef("MediaStream Recording")}}

The **`audioBitsPerSecond`** read-only
property of the {{domxref("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

```js
var audioBitsPerSecond = MediaRecorder.audioBitsPerSecond
```

### Value

A {{jsxref("Number")}} (unsigned long).

## Specifications

{{Specifications}}

## Browser compatibility

{{Compat}}
