RemoteVideoStats

Statistics of the remote video stream.

public static class RemoteVideoStats {
    public int 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 int rxStreamType;
    public int totalFrozenTime;
    public int frozenRate;
    public int avSyncTimeMs;
    public long totalActiveTime;
    public long publishDuration;
  }

Attributes

uid
The user ID of the remote user sending the video stream.
delay
Deprecated:
In scenarios where audio and video are synchronized, you can get the video delay data from networkTransportDelay and jitterBufferDelay in RemoteAudioStats.

The video delay (ms).

e2eDelay
End-to-end video latency (ms). That is, the time elapsed from the video capturing on the remote user's end to the receiving and rendering of the video on the local user's end.
width
The width (pixels) of the video.
height
The height (pixels) of the video.
receivedBitrate
The bitrate (Kbps) of the remote video received since the last count.
decoderOutputFrameRate
The frame rate (fps) of decoding the remote video.
rendererOutputFrameRate
The frame rate (fps) of rendering the remote video.
frameLossRate
The packet loss rate (%) of the remote video.
packetLossRate
The packet loss rate (%) of the remote video after using the anti-packet-loss technology.
rxStreamType
The type of the video stream. .
  • VIDEO_STREAM_HIGH(0): High-quality stream, that is, a high-resolution and high-bitrate video stream.
  • VIDEO_STREAM_LOW(1): Low-quality stream, that is, a low-resolution and low-bitrate video stream.
totalFrozenTime
The total freeze time (ms) of the remote video stream after the remote user joins the channel. In a video session where the frame rate is set to no less than 5 fps, video freeze occurs when the time interval between two adjacent renderable video frames is more than 500 ms.
frozenRate
The total video freeze time as a percentage (%) of the total time the video is available. The video is considered available as long as that the remote user neither stops sending the video stream nor disables the video module after joining the channel.
totalActiveTime

The total active time (ms) of the video.

As long as the remote user or host neither stops sending the video stream nor disables the video module after joining the channel, the video is available.

publishDuration

The total duration (ms) of the remote video stream.

avSyncTimeMs
The amount of time (ms) that the audio is ahead of the video.
Attention: If this value is negative, the audio is lagging behind the video.