getSupportedConstraints

View as Markdown

getSupportedConstraints

  • Const getSupportedConstraints(): MediaTrackSupportedConstraints

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

Returns

MediaTrackSupportedConstraints

Example

1SignalWire.WebRTC.getSupportedConstraints();
2// {
3// "aspectRatio": true,
4// "autoGainControl": true,
5// "brightness": true,
6// "channelCount": true,
7// "colorTemperature": true,
8// ...
9// }