*** id: 88c9cf25-bec7-4132-923a-a5f98932f416 title: getMicrophoneDevices slug: /js/reference/webrtc/get-microphone-devices description: getMicrophoneDevices function in the WebRTC namespace. max-toc-depth: 3 ---------------- ### getMicrophoneDevices * `Const` **getMicrophoneDevices**(): `Promise` — See [MediaDeviceInfo](https://developer.mozilla.org/en-US/docs/Web/API/mediadeviceinfo) for more details. Returns an array of microphone devices that can be accessed on this device (for which we have permissions). #### Returns `Promise` #### Example ```javascript await SignalWire.WebRTC.getMicrophoneDevices(); // [ // { // "deviceId": "ADciLf...NYgF8=", // "kind": "audioinput", // "label": "Internal Microphone", // "groupId": "rgZgKM...NW1hU=" // } // ] ```