RemoteVideoStats

Statistics of the remote video stream.

public class RemoteVideoStats
    {
        public uint uid;
        public int delay;
        public int e2eDelay;
        public int width;
        public int height;
        public int receivedBitrate;
        public int decoderOutputFrameRate;
        public int rendererOutputFrameRate;
        public int frameLossRate;
        public int packetLossRate;
        public VIDEO_STREAM_TYPE rxStreamType;
        public int totalFrozenTime;
        public int frozenRate;
        public int avSyncTimeMs;
        public int totalActiveTime;
        public int publishDuration;
        public int mosValue;
    };

Properties

uid
User ID specifying which user's video stream.
delay
Delay (ms).
Note: Deprecated: In audio-video scenarios with A/V sync mechanisms, refer to the networkTransportDelay and jitterBufferDelay members in RemoteAudioStats for video delay data.
e2eDelay
End-to-end video delay (ms). That is, the total time from when the remote user captures the video to when the local user receives and renders it.
width
Width of the video stream (pixels).
height
Height of the video stream (pixels).
receivedBitrate
Bitrate (Kbps) received since the last report.
decoderOutputFrameRate
Output frame rate of the remote video decoder, in fps.
rendererOutputFrameRate
Output frame rate of the remote video renderer, in fps.
frameLossRate
Packet loss rate (%) of the remote video.
packetLossRate
Packet loss rate (%) of the remote video after applying anti-packet-loss techniques.
rxStreamType
Video stream type: high stream or low stream. See VIDEO_STREAM_TYPE.
totalFrozenTime
Total duration (ms) of video freezes after the remote user joins the channel. During the call, if the video frame rate is set to no less than 5 fps and the interval between two consecutive rendered frames exceeds 500 ms, it is counted as a video freeze.
frozenRate
Percentage (%) of total freeze time relative to the total duration of valid video. Valid video duration refers to the time after the remote user joins the channel during which video is neither stopped nor disabled.
totalActiveTime
Valid video duration (ms). Total valid video duration refers to the time after the remote user or host joins the channel during which video is neither stopped nor disabled.
publishDuration
Total publishing duration (ms) of the remote video stream.
avSyncTimeMs
Time (ms) that audio leads video.
Note: If the value is negative, it means audio lags behind video.
mosValue
Quality of the remote audio stream during the reporting interval. The quality is measured by Agora’s real-time audio MOS (Mean Opinion Score) method. The return value ranges from [0, 500]; divide by 100 to get the MOS score, ranging from 0 to 5. The higher the score, the better the audio quality. The subjective audio quality corresponding to the Agora real-time audio MOS score is as follows:
  • Greater than 4: Excellent audio quality, clear and smooth.
  • 3.5 - 4: Good audio quality, occasional artifacts, but still clear.
  • 3 - 3.5: Fair audio quality, occasional stutters, not very smooth, requires some attention to understand.
  • 2.5 - 3: Poor audio quality, frequent stutters, requires concentration to understand.
  • 2 - 2.5: Very poor audio quality, occasional noise, partial semantic loss, difficult to communicate.
  • Less than 2: Extremely poor audio quality, frequent noise, significant semantic loss, communication impossible.