> For a complete index of all SignalWire documentation pages, fetch https://signalwire.com/docs/llms.txt

# getSupportedConstraints

> getSupportedConstraints function in the WebRTC namespace.

### getSupportedConstraints

* `Const` **getSupportedConstraints**(): `MediaTrackSupportedConstraints`

Returns a dictionary whose fields specify the constrainable properties the user agent understands.

#### Returns

`MediaTrackSupportedConstraints`

#### Example

```javascript
SignalWire.WebRTC.getSupportedConstraints();
// {
//   "aspectRatio": true,
//   "autoGainControl": true,
//   "brightness": true,
//   "channelCount": true,
//   "colorTemperature": true,
//   ...
// }
```