*** id: 648c79da-ea52-4c22-b8bd-a2441413f27b title: getSupportedConstraints slug: /js/reference/webrtc/get-supported-constraints description: getSupportedConstraints function in the WebRTC namespace. max-toc-depth: 3 ---------------- ### 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, // ... // } ```