> Fetch clean Markdown by appending `.md` to any page URL under https://signalwire.com/docs or requesting it with the HTTP header `Accept: text/markdown`. The root index at https://signalwire.com/docs/llms.txt lists the available documentation indexes. # getCameraDevices > getCameraDevices function in the WebRTC namespace. ### getCameraDevices * `Const` **getCameraDevices**(): `Promise` — See [MediaDeviceInfo](https://developer.mozilla.org/en-US/docs/Web/API/mediadeviceinfo) for more details. Returns an array of camera devices that can be accessed on this device (for which we have permissions). #### Returns `Promise` #### Example ```javascript await SignalWire.WebRTC.getCameraDevices(); // [ // { // "deviceId": "Rug5Bk...4TMhY=", // "kind": "videoinput", // "label": "HD FaceTime Camera", // "groupId": "Su/dzw...ccfnY=" // } // ] ``` > getCameraDevices function in the WebRTC namespace.