*** id: e773f659-d3c6-4b7e-a79a-3eae962765a6 title: supportsGetUserMedia slug: /js/reference/webrtc/supports-get-user-media description: supportsGetUserMedia function in the WebRTC namespace. max-toc-depth: 3 ---------------- ### supportsGetUserMedia * `Const` **supportsGetUserMedia**(): `boolean` Returns whether the current environment supports [`getUserMedia`](https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getUserMedia). #### Returns `boolean`