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
The `MediaStatsCallFeature` object has the following API structure:
24
24
25
25
- The `OnSampleReportedListener` event listens for periodic reports of the media statistics.
26
-
-`setSampleIntervalInSeconds(int value)` sets the interval (in seconds) of the media statistics report generation. If it's not specified, the SDK uses defaults.
26
+
-`setSampleIntervalInSeconds(int value)` sets the interval, in seconds, of the media statistics report generation. If it's not specified, the SDK uses defaults.
27
27
- A `MediaStatsReport` object contains the definition of the outgoing and incoming media statistics, categorized by audio, video, and screen share.
28
28
-`getOutgoingMediaStats()`: The list of media statistics for outgoing media.
29
29
-`getAudio()`: The list of media statistics for outgoing audio.
Copy file name to clipboardExpand all lines: articles/communication-services/concepts/voice-video-calling/includes/media-stats/media-stats-web.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -90,7 +90,7 @@ The bandwidth metrics have changes to `availableBitrate` in audio send and video
90
90
| Metric name | Description | Comments |
91
91
| ----------- | ----------- | -------- |
92
92
|`id`| Statistics ID | It's used to identify statistics across the events, especially when there are multiple statistics with the same media type and direction in an event. |
93
-
|`codecName`| Codec name | OPUS, G722|
93
+
|`codecName`| Codec name | OPUS, G722.|
94
94
|`bitrate`| Audio send bit rate (bits per second) | General values are in the 24-Kbps range (36-128 Kbps is typical). |
95
95
|`jitterInMs`| Packet jitter (milliseconds) | Lower is better. |
96
96
|`packetsPerSecond`| Packet rate (packets per second) ||
@@ -120,7 +120,7 @@ The bandwidth metrics have changes to `availableBitrate` in audio send and video
120
120
| Metric name | Description | Comments |
121
121
| ----------- | ----------- | -------- |
122
122
|`id`| Statistics ID | It's used to identify statistics across the events, especially when there are multiple statistics with the same media type and direction in an event. |
123
-
|`codecName`| Codec name | H264, VP8, VP9 |
123
+
|`codecName`| Codec name | H264, VP8, VP9.|
124
124
|`bitrate`| Video send bitrate (bits per second) ||
125
125
|`jitterInMs`| Packet jitter (milliseconds) | Lower is better. |
126
126
|`packetsPerSecond`| Packet rate (packets per second) ||
@@ -144,7 +144,7 @@ The bandwidth metrics have changes to `availableBitrate` in audio send and video
144
144
| Metric name | Description | Comments |
145
145
| ----------- | ----------- | -------- |
146
146
|`id`| Statistics ID | It's used to identify statistics across the events, especially when there are multiple statistics with the same media type and direction in an event. |
147
-
|`codecName`| Codec name | H264, VP8, VP9 |
147
+
|`codecName`| Codec name | H264, VP8, VP9.|
148
148
|`bitrate`| Video receive bitrate (bits per second) ||
149
149
|`jitterInMs`| Packet jitter (milliseconds) | Lower is better. |
150
150
|`packetsPerSecond`| Packet rate (packets per second) ||
@@ -174,7 +174,7 @@ Currently, statistics fields are the same as *video receive metrics*.
174
174
175
175
### Using media quality statistics on SDK versions earlier than 1.8.0
176
176
177
-
If you're using an Azure Communication Services SDK version earlier than 1.8.0, see below for documentation on how to use this functionality.
177
+
If you're using an Azure Communication Services SDK version earlier than 1.8.0, this section describes how to use this functionality.
178
178
179
179
As a developer, you can invoke the `startCollector` method with optional `mediaStatsSubscriptionOptions`.
|`audioSendCodecName`| Sent codec | Audio codec used. | Information only. |
221
221
|`audioSendRtt`| Send round-trip time | Round-trip time between your system and the Azure Communication Services server. Results are in milliseconds. | We recommend a round-trip time of 200 ms or less. |
222
222
|`audioSendPairRtt`| Send pair round-trip time | Round-trip time for the entire transport. Results are in milliseconds. | We recommend a round-trip time of 200 ms or less. |
223
-
|`audioRecvPairRtt`| Receive pair round-trip Time| Round-trip time for the entire transport. Results are in milliseconds. | We recommend a round-trip time of 200 ms or less. |
224
-
|`audioSendAudioInputLevel`| Input level for the microphone | Sent audio playout level. If source data is between 0 and 1, the media stack multiplies it with `0xFFFF`. It depends on the microphone. Used to confirm if the microphone is silent (no incoming energy). | Microphone input level. |
223
+
|`audioRecvPairRtt`| Receive pair round-trip time| Round-trip time for the entire transport. Results are in milliseconds. | We recommend a round-trip time of 200 ms or less. |
224
+
|`audioSendAudioInputLevel`| Input level for the microphone | Sent audio playout level. If source data is between 0 and 1, the media stack multiplies it with `0xFFFF`. It depends on the microphone. Use this metric to confirm if the microphone is silent (no incoming energy). | Microphone input level. |
225
225
|`audioRecvAudioOutputLevel`| Speaker output level | Received audio playout level. If the source data is between 0 and 1, the media stack multiplies it with `0xFFFF`. | Speaker output level. |
|`videoSendFrameRateSent`| Sent frame rate | Number of video frames sent. Results are frames per second. | Higher is better. Possible values: 25-30 fps (360p or higher); <br>8-15 fps (270p or lower). |
232
232
|`videoSendFrameWidthSent`| Sent width | Video width resolution sent. | Higher is better. Possible values:<br>1920, 1280, 960, 640, 480, 320. |
233
233
|`videoSendFrameHeightSent`| Sent height | Video height sent. Higher is better. | Higher is better. Possible values:<br>1080, 720, 540, 360, 270, 240. |
234
-
|`videoSendBitrate`| Sent bitrate | Amount of video bitrate being sent. Results are bits per second. ||
234
+
|`videoSendBitrate`| Sent bitrate | Amount of video bitrate sent. Results are bits per second. ||
235
235
|`videoSendPackets`| Sent packets | The number of video packets sent. Results are packets per second (over the last second). | Information only. |
236
236
|`VideoSendCodecName`| Sent codec | Video codec used for encoding video. | Possible values: VP8 (1:1 calls) and H264. |
237
237
|`videoRecvJitterBufferMs`| Received jitter | The jitter buffer is used for smooth playout. This value is how long the packets of the frame stay in the jitter buffer (in milliseconds). | Lower is better. |
0 commit comments