> For the complete documentation index, see [llms.txt](https://documentation.sceenic.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.sceenic.co/watch-together-sdk/sscale-confluence-api-references/sscale-confluence-web-sdk-reference/sscale-confluence-participant-websdk/setmediaquality.md).

# setMediaQuality

| Methods                                                                                     | Description                                                                                                                                                                                                                                                                      | Paramet                                                                                              |
| ------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- |
| <p>setMediaQuality(<br>{videoHeight: Number, <br>videoWidth: Number, frameRate: Number}</p> | <p>Apply constraints to the <br>video resolution and frame rate.</p><ul><li>It is possible to invoke <br>the function with a <br>sub-set of the parameters.<br>Example:<code>WT.Participant</code><br><code>.setMediaQuality(</code><br><code>{frameRate: 18});</code></li></ul> | <p></p><ul><li>videoWidth - number</li><li>VideoHeight - number</li><li>frameRate - number</li></ul> |

### Browser Compatibility

| Browser       | Video Resolution                                                                  | Frame Rate |
| ------------- | --------------------------------------------------------------------------------- | ---------- |
| Chrome        | +                                                                                 | +          |
| Safari(macOS) | +                                                                                 | -          |
| Chrome mobile | +                                                                                 | +          |
| Safari iOS    | +                                                                                 | +          |
| Mozilla       | Note: if you changed width or height  - the other parameter changed automatically | +          |
