> 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/video-parameters/and-quality.md).

# \&quality

Presets the quality setting for a guest

Sender-Side Option! ([`&push`](/advanced-settings/setup-parameters/push.md))

## Aliases

* `&q`

## Options

Examples: `&quality=4K`, `&quality=fullhd`, or `&q=720p`.

| Value         | Equivalent values                              | Target resolution                                                                                                            |
| ------------- | ---------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- |
| `-2`          | `4k`, `2160p`, `2160`                          | 3840x2160 (4K UHD)                                                                                                           |
| `-3`          | `2k`, `1440p`, `1440`                          | 2560x1440                                                                                                                    |
| `0`           | `fullhd`, `1080p`, `1080`, `high`, or no value | 1920x1080 (Full HD)                                                                                                          |
| `1`           | `hd`, `720p`, `720`                            | 1280x720                                                                                                                     |
| `2`           | `360p`, `360`, `low`                           | 640x360                                                                                                                      |
| `-1`          |                                                | Device/browser default, with no resolution constraint from this preset; useful for sharing a screen at its native resolution |
| `3` or higher |                                                | Uses the low camera preset (`2`); targets 320x180 for screen sharing                                                         |

Named values are case-insensitive: `4K` and `4k` are equivalent. For Full HD, use `fullhd` or `1080p`; `fhd` is not a supported value.

`&quality` or `&q` without a value selects `0`. Omitting the parameter entirely uses automatic defaults.

The standalone shortcuts `&4k`, `&fullhd`, and `&1080p` also select their respective presets. Use these parameter names in lowercase.

## Details

Presets the target resolution for a guest. It is not strict and is less likely to give errors than explicit resolution requests.

If `&quality` is omitted entirely, VDO.Ninja selects an initial quality tier using the device type, available CPU cores, reported memory, and whether the guest is joining a room. The default is therefore not always 720p. The camera and browser determine the actual frame rate unless [`&fps`](/advanced-settings/video-parameters/and-fps.md) or [`&maxframerate`](/advanced-settings/video-parameters/and-maxframerate.md) is set.

Without using `&quality` on the URL a guest can change the "quality" when setting up the camera:\
![](https://2943598173-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZHXv1G8N0MDxwotaT9%2Fuploads%2Fx0ADFBs3gTNTBORUqQO3%2Fimage.png?alt=media\&token=be9382f3-1472-4f58-80f1-04d065d28922)

Use `&quality=1440p` or `&quality=4k` for resolutions above 1080p. Actual capture resolution depends on the camera, browser, and hardware. Use [`&width`](/advanced-settings/video-parameters/and-width.md) and [`&height`](/advanced-settings/video-parameters/and-height.md) when you need explicit dimensions instead of a preset.

For screen sharing, [`&screensharequality`](/advanced-settings/screen-share-parameters/screensharequality.md) overrides `&quality` without changing camera quality.

There is a toggle in the director's room guest's invite link customization which adds `&q`:\
![](https://2943598173-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZHXv1G8N0MDxwotaT9%2Fuploads%2FHxjH57J04GUsm4epKO1p%2Fimage.png?alt=media\&token=9ffccd0c-8f78-448c-94f4-bf25e3400694)

## Related

{% content-ref url="/pages/-MbrBM0\_6rweLjhZuPpP" %}
[\&screensharequality](/advanced-settings/screen-share-parameters/screensharequality.md)
{% endcontent-ref %}

{% content-ref url="/pages/vqmMSNSbY94Q6IRtz4JM" %}
[\&mediasettings](/advanced-settings/video-parameters/and-mediasettings.md)
{% endcontent-ref %}

{% content-ref url="/pages/-MZXRA\_jhvR0aFnq3TUg" %}
[\&width](/advanced-settings/video-parameters/and-width.md)
{% endcontent-ref %}

{% content-ref url="/pages/-MZXQf0lGejWaBjc-y-Q" %}
[\&height](/advanced-settings/video-parameters/and-height.md)
{% endcontent-ref %}


---

# 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/video-parameters/and-quality.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.
