Browser SDK
Build voice, video and chat applications for the browser
v4
Stable
1requestMediaPermissions(options?): Promise<PermissionResult>
Triggers the browser’s media permission dialog and captures the user’s device selections.
Which permissions to request.
Promise<PermissionResult>
The permission result with selected devices.
1await client.requestMediaPermissions(options);