Skip to content

Commit b459db0

Browse files
Update ask-device-permission-api-takes-too-long.md
1 parent a20e7d7 commit b459db0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/communication-services/resources/troubleshooting/voice-video-calling/device-issues/ask-device-permission-api-takes-too-long.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ ms.subservice: calling
1414

1515
# The askDevicePermission API takes too long
1616
The [`askDevicePermission`](/javascript/api/%40azure/communication-react/calladapterdevicemanagement?view=azure-node-latest&preserve-view=true#@azure-communication-react-calladapterdevicemanagement-askdevicepermission) API prompts the end user via the browser asking if they allow permission to use camera or microphone.
17-
If the end users approves camera or microphone usage, then those devices are available to be used in a call. The devices availability is reflected in available device list.
17+
If the end user approves camera or microphone usage, then those devices are available to be used in a call. The devices availability is reflected in available device list.
1818

1919
User taking a long time to approve the permission can cause delay in the API response.
2020

@@ -26,7 +26,7 @@ To detect this issue, you can measure the time difference between when you call
2626

2727
## How to mitigate or resolve
2828
If the [`askDevicePermission`](/javascript/api/%40azure/communication-react/calladapterdevicemanagement?view=azure-node-latest&preserve-view=true#@azure-communication-react-calladapterdevicemanagement-askdevicepermission) API fails due to the user not responding to the UI permission prompt,
29-
the application can retry the API again and the user should see the UI permission prompt .
29+
the application can retry the API again and the user should see the UI permission prompt.
3030

3131
If the device list update step takes a long time, the user should check their audio device list and see if there's any device that could potentially be causing this issue.
3232
They may need to update or remove the problematic device to resolve the issue.

0 commit comments

Comments
 (0)