You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/communication-services/concepts/voice-video-calling/user-facing-diagnostics.md
+27-23Lines changed: 27 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,35 +1,36 @@
1
1
---
2
-
title: Azure Communication Services Call Diagnostics
2
+
title: Azure Communication Services User Facing Diagnostics
3
3
titleSuffix: An Azure Communication Services concept document
4
-
description: Provides an overview of the Call Diagnostics feature.
4
+
description: Provides an overview of the User Facing Diagnostics feature.
5
5
author: probableprime
6
6
ms.author: rifox
7
7
manager: chpalm
8
8
9
9
services: azure-communication-services
10
-
ms.date: 08/17/2021
10
+
ms.date: 10/21/2021
11
11
ms.topic: conceptual
12
12
ms.service: azure-communication-services
13
13
ms.subservice: calling
14
14
---
15
15
16
-
# Call diagnostics
16
+
# User Facing Diagnostics
17
17
18
-
When working with calls in Azure Communication Services, issues or problems may arise that cause issues for your customers. To aid with that we have a feature called "Call Diagnostics" which enables you to examine various properties of a Call to determine what the issue might be.
18
+
When working with calls in Azure Communication Services, problems may arise that cause issues for your customers. To help with this scenario, we have a feature called "User Facing Diagnostics" that you can use to examine various properties of a call to determine what the issue might be.
19
19
20
-
**Call diagnostics, is currently only supported for our JS / Web SDK.**
20
+
> [!NOTE]
21
+
> User-facing diagnostics is currently supported only for our JavaScript / Web SDK.
21
22
22
23
## Accessing diagnostics
23
24
24
-
Call diagnostics is an extended feature of the core `Call` API and allows you to diagnose an active call.
25
+
User-facing diagnostics is an extended feature of the core `Call` API and allows you to diagnose an active call.
The following users facing diagnostics are available:
33
+
The following user-facing diagnostics are available:
33
34
34
35
### Network values
35
36
@@ -38,14 +39,15 @@ The following users facing diagnostics are available:
38
39
| noNetwork | There is no network available. | - Set to `True` when a call fails to start because there is no network available. <br/> - Set to `False` when there are ICE candidates present. | Device is not connected to a network. |
39
40
| networkRelaysNotReachable | Problems with a network. | - Set to `True` when the network has some constraint that is not allowing you to reach ACS relays. <br/> - Set to `False` upon making a new call. | During a call when the WiFi signal goes on and off. |
40
41
| networkReconnect | The connection was lost and we are reconnecting to the network. | - Set to `Bad` when the network is disconnected <br/> - Set to `Poor`when the media transport connectivity is lost <br/> - Set to `Good` when a new session is connected. | Low bandwidth, no internet |
41
-
| networkReceiveQuality | An indicator regarding incoming stream quality. | - Set to `Bad` when there is a severe problem with receiving the stream. quality <br/> - Set to `Poor` when there is a mild problem with receiving the stream. quality <br/> - Set to `Good` when there is no problem with receiving the stream. | Low bandwidth |
42
+
| networkReceiveQuality | An indicator regarding incoming stream quality. | - Set to `Bad` when there is a severe problem with receiving the stream. <br/> - Set to `Poor` when there is a mild problem with receiving the stream. <br/> - Set to `Good` when there is no problem with receiving the stream. | Low bandwidth |
43
+
| networkSendQuality | An indicator regarding outgoing stream quality. | - Set to `Bad` when there is a severe problem with sending the stream. <br/> - Set to `Poor` when there is a mild problem with sending the stream. <br/> - Set to `Good` when there is no problem with sending the stream. | Low bandwidth |
42
44
43
45
### Audio values
44
46
45
47
| Name | Description | Possible values | Use cases |
| noSpeakerDevicesEnumerated | There is no audio output device (speaker) on the user's system. | - Set to `True` when there are no speaker devices on the system, and speaker selection is supported. <br/> - Set to `False` when there is a least 1 speaker device on the system, and speaker selection is supported. | All speakers are unplugged |
48
-
| speakingWhileMicrophoneIsMuted | Speaking while being on mute. | - Set to `True` when local microphone is muted and the local user is speaking. <br/> - Set to `False` when local user either stops speaking, or un-mutes the microphone. <br/> \* Note: as of today, this isn't supported on safari yet, as the audio level samples are taken from webrtc. stats. | During a call, mute your microphone and speak into it. |
50
+
| speakingWhileMicrophoneIsMuted | Speaking while being on mute. | - Set to `True` when local microphone is muted and the local user is speaking. <br/> - Set to `False` when local user either stops speaking, or unmutes the microphone. <br/> \* Note: Currently, this option isn't supported on Safari because the audio level samples are taken from WebRTC stats. | During a call, mute your microphone and speak into it. |
49
51
| noMicrophoneDevicesEnumerated | No audio capture devices (microphone) on the user's system | - Set to `True` when there are no microphone devices on the system. <br/> - Set to `False` when there is at least 1 microphone device on the system. | All microphones are unplugged during the call. |
50
52
| microphoneNotFunctioning | Microphone is not functioning. | - Set to `True` when we fail to start sending local audio stream because the microphone device may have been disabled in the system or it is being used by another process. This UFD takes about 10 seconds to get raised. <br/> - Set to `False` when microphone starts to successfully send audio stream again. | No microphones available, microphone access disabled in a system |
51
53
| microphoneMuteUnexpectedly | Microphone is muted | - Set to `True` when microphone enters muted state unexpectedly. <br/> - Set to `False` when microphone starts to successfully send audio stream | Microphone is muted from the system. |
@@ -56,19 +58,23 @@ The following users facing diagnostics are available:
56
58
| Name | Description | Possible values | Use cases |
| cameraFreeze | Camera stops producing frames for more than 5 seconds. | - Set to `True` when the local video stream is frozen. This means the remote side is seeing your video frozen on their screen or it means that the remote participants are not rendering your video on their screen. <br/> - Set to `False` when the freeze ends and users can see your video as per normal. | The Camera was lost during the call or bad network caused the camera to freeze. |
59
-
| cameraStartFailed | Generic camera failure. | - Set to `True` when we fail to start sending local video because the camera device may have been disabled in the system or it is being used by another process~. <br/> - Set to `False` when selected camera device successfully sends local video. again. | Camera failures |
61
+
| cameraStartFailed | Generic camera failure. | - Set to `True` when we fail to start sending local video because the camera device may have been disabled in the system or it is being used by another process~. <br/> - Set to `False` when selected camera device successfully sends local video again. | Camera failures |
60
62
| cameraStartTimedOut | Common scenario where camera is in bad state. | - Set to `True` when camera device times out to start sending video stream. <br/> - Set to `False` when selected camera device successfully sends local video again. | Camera failures |
61
63
| cameraPermissionDenied | Camera permissions were denied in settings. | - Set to `True` when camera permission is denied by system settings (video). <br/> - Set to `False` on successful stream acquisition. <br> Note: This diagnostic only works on macOS Chrome | Camera permissions are disabled in the settings. |
64
+
| cameraStoppedUnexpectedly | Camera malfunction | - Set to `True` when camera enters stopped state unexpectedly. <br/> - Set to `False` when camera starts to successfully send video stream again. | Check camera is functioning correctly |
62
65
63
66
### Misc values
64
67
65
68
| Name | Description | Possible values | Use cases |
| screenshareRecordingDisabled | System screen sharing was denied by preferences in Settings. | - Set to `True` when screen sharing permission is denied by system settings (sharing). <br/> - Set to `False` on successful stream acquisition. <br/> Note: This diagnostic only works on macOS.Chrome. | Screen recording is disabled in Settings. |
71
+
| capturerStartFailed | System screen sharing failed. | - Set to `True` when we fail to start capturing the screen. <br/> - Set to `False` when capturing the screen can start successfully. ||
72
+
| capturerStoppedUnexpectedly | System screen sharing malfunction | - Set to `True` when screen capturer enters stopped state unexpectedly. <br/> - Set to `False` when screen capturer starts to successfully capture again. | Check screen sharing is functioning correctly |
68
73
69
-
## Diagnostic events
70
74
71
-
- Subscribe to the `diagnosticChanged` event to monitor when any call diagnostic changes.
75
+
## User Facing Diagnostic events
76
+
77
+
- Subscribe to the `diagnosticChanged` event to monitor when any user-facing diagnostic changes.
72
78
73
79
```js
74
80
/**
@@ -78,14 +84,12 @@ The following users facing diagnostics are available:
78
84
* - DiagnosticQuality = enum { Good = 1, Poor = 2, Bad = 3 }.
0 commit comments