> 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. # getDeviceCapabilities > Returns the capabilities of a media device. ```ts getDeviceCapabilities(deviceInfo): Promise ``` Returns the capabilities of a media device. ## **Parameters** **`deviceInfo`** `MediaDeviceInfo` — required The device to query. See [`MediaDeviceInfo`](https://developer.mozilla.org/en-US/docs/Web/API/MediaDeviceInfo). --- ## **Returns** `Promise` The device capabilities, or `null` if unavailable. ## **Examples** ```ts await client.getDeviceCapabilities(deviceInfo); ``` > Returns the capabilities of a media device.