*** id: 5871f42d-bb4a-46c1-b60a-7639e9806699 title: getSpeakerDevices slug: /js/reference/webrtc/get-speaker-devices description: getSpeakerDevices function in the WebRTC namespace. max-toc-depth: 3 ---------------- ### getSpeakerDevices * `Const` **getSpeakerDevices**(): `Promise` — See [MediaDeviceInfo](https://developer.mozilla.org/en-US/docs/Web/API/mediadeviceinfo) for more details. Returns an array of speaker devices that can be accessed on this device (for which we have permissions). #### Returns `Promise` #### Example ```javascript await SignalWire.WebRTC.getSpeakerDevices(); // [ // { // "deviceId": "ADciLf...NYgF8=", // "kind": "audiooutput", // "label": "External Speaker", // "groupId": "rgZgKM...NW1hU=" // } // ] ```