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;


The user ID of the remote user sending the video stream.
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).

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.
The width (pixels) of the video.
The height (pixels) of the video.
The bitrate (Kbps) of the remote video received since the last count.
The frame rate (fps) of decoding the remote video.
The frame rate (fps) of rendering the remote video.
The packet loss rate (%) of the remote video.
The packet loss rate (%) of the remote video after using the anti-packet-loss technology.
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.
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.
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.

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.


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

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.