getSupportedConstraints

View as MarkdownOpen in Claude

getSupportedConstraints

  • Const getSupportedConstraints(): MediaTrackSupportedConstraints

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

Returns

MediaTrackSupportedConstraints

Example

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