# \&meshcastcodec

Meshcast Option / Sender-Side Option! ([`&meshcast`](https://docs.vdo.ninja/advanced-settings/meshcast-parameters/and-meshcast), [`&push`](https://docs.vdo.ninja/advanced-settings/setup-parameters/push))

## Aliases

* `&mccodec`

## Options

Example: `&meshcastcodec=h264`

<table><thead><tr><th width="209">Value</th><th>Description</th></tr></thead><tbody><tr><td><code>h264</code></td><td>h264 codec</td></tr><tr><td><code>vp8</code></td><td>vp8 codec</td></tr><tr><td><code>vp9</code></td><td>vp9 codec</td></tr><tr><td><code>42e01f</code>*</td><td>open h264 codec</td></tr><tr><td>(xxxxxx)*</td><td>h264 profile IDs</td></tr></tbody></table>

\*on beta and alpha

## Details

Adding `&meshcastcodec` to the publisher's side together with [`&meshcast`](https://docs.vdo.ninja/advanced-settings/meshcast-parameters/and-meshcast) gives the option to change the publishing codec for Meshcast.

Example usage: `https://vdo.ninja/?meshcast&meshcastcodec=vp9`

There's 4 codec options currently, including the default option:

* The unspecified default, which is software h264.&#x20;
* There's also `h264`, which is what the browser then sets. This could include hardware encoding, but that will not work with Firefox or Safari viewers then.&#x20;
* `vp8` is pretty compatible, so if the default codec doesn't work, you can try that.&#x20;
* `vp9` is also available, which has better compression/quality, but not fully compatible with all devices.&#x20;
* av1 and svc are not yet supported, but that is planned at some point.

## Related

{% content-ref url="and-meshcast" %}
[and-meshcast](https://docs.vdo.ninja/advanced-settings/meshcast-parameters/and-meshcast)
{% endcontent-ref %}

{% content-ref url="and-mcscreensharecodec" %}
[and-mcscreensharecodec](https://docs.vdo.ninja/advanced-settings/meshcast-parameters/and-mcscreensharecodec)
{% endcontent-ref %}

{% content-ref url="../video-parameters/codec" %}
[codec](https://docs.vdo.ninja/advanced-settings/video-parameters/codec)
{% endcontent-ref %}

{% content-ref url="../video-parameters/and-h264profile" %}
[and-h264profile](https://docs.vdo.ninja/advanced-settings/video-parameters/and-h264profile)
{% endcontent-ref %}
