> 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. # requestMediaPermissions > Triggers the browser's media permission dialog and captures the user's device selections. ```ts requestMediaPermissions(options?): Promise ``` Triggers the browser's media permission dialog and captures the user's device selections. ## **Parameters** **`options`** `{ audio?: boolean; video?: boolean; }` Which permissions to request. --- ## **Returns** `Promise` The permission result with selected devices. ## **Examples** ```ts await client.requestMediaPermissions(options); ``` > Triggers the browser's media permission dialog and captures the user's device selections.