> For the complete documentation index, see [llms.txt](https://docs.vdo.ninja/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.vdo.ninja/advanced-settings/audio-parameters/and-outboundsamplerate.md).

# \&outboundsamplerate

Reference for the \&outboundsamplerate URL parameter in VDO.Ninja including behavior examples and related options.

**Also known as:** `&obsr`

#### **Description**

Sets the sample rate for outbound audio processing in the web audio pipeline.

#### **Sender-Side Option**

This parameter controls the sample rate used for audio resampling before transmission.

#### **Usage**

* **`&outboundsamplerate=48000`** - Sets sample rate to 48kHz (default in v24+)
* **`&outboundsamplerate=44100`** - Sets sample rate to 44.1kHz
* **`&outboundsamplerate=0`** - Disables resampling
* **`&obsr=48000`** - Short alias for the parameter

#### **Examples**

```
https://vdo.ninja/?push=streamID&outboundsamplerate=48000
https://vdo.ninja/?push=streamID&obsr=44100
https://vdo.ninja/?push=streamID&outboundsamplerate=0
```

#### **Details**

* In VDO.Ninja v24+, audio is automatically resampled to 48kHz for web audio processing
* This parameter allows override of the default resampling behavior
* Audio is encoded to 48kHz by Opus regardless of this setting
* Mainly useful for debugging or testing audio issues

#### **Platform Behavior**

* **Chrome/Chromium:** Resampling enabled by default (can be disabled)
* **Firefox/Safari:** No default resampling (can be force-enabled)
* **Mobile browsers:** No default resampling (can be force-enabled)

#### **Important Notes**

* High sample rates can crash the web audio pipeline
* Avoid sample rates above 48kHz
* Setting to 0 or omitting value disables resampling
* Using `&noap` disables the entire web audio pipeline

#### **Technical Background**

* Resampling ensures consistent audio processing across different input devices
* Helps prevent audio glitches with certain hardware configurations
* Final transmission uses Opus codec at 48kHz regardless

#### **Related Parameters**

* [`&samplerate`](https://docs.vdo.ninja/advanced-settings/audio-parameters/and-samplerate.md) - Sets playback sample rate (viewer-side)
* [`&noaudioprocessing`](https://docs.vdo.ninja/advanced-settings/audio-parameters/noaudioprocessing.md) - Disables audio processing
* [`&audiocodec`](https://docs.vdo.ninja/advanced-settings/audio-parameters/minptime-1.md) - Selects audio codec


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.vdo.ninja/advanced-settings/audio-parameters/and-outboundsamplerate.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
