Agora Java API Reference for Android
io.agora.rtc.IRtcEngineEventHandler.RemoteVideoStats Class Reference

Public Attributes

int uid
int delay
int width
int height
int receivedBitrate
int decoderOutputFrameRate
int rendererOutputFrameRate
int packetLossRate
int rxStreamType
int totalFrozenTime
int frozenRate
int totalActiveTime
int publishDuration

Detailed Description

Statistics of the remote video.

Member Data Documentation

◆ uid

int io.agora.rtc.IRtcEngineEventHandler.RemoteVideoStats.uid

User ID of the user sending the video streams.

◆ delay

int io.agora.rtc.IRtcEngineEventHandler.RemoteVideoStats.delay
Time delay (ms). In scenarios where audio and video is synchronized, you can use the value of networkTransportDelay and jitterBufferDelay in RemoteAudioStats to know the delay statistics of the remote video.

◆ width

int io.agora.rtc.IRtcEngineEventHandler.RemoteVideoStats.width

Width (pixels) of the remote video.

◆ height

int io.agora.rtc.IRtcEngineEventHandler.RemoteVideoStats.height

Height (pixels) of the remote video.

◆ receivedBitrate

int io.agora.rtc.IRtcEngineEventHandler.RemoteVideoStats.receivedBitrate

Bitrate (Kbps) received in the reported interval.

◆ decoderOutputFrameRate

int io.agora.rtc.IRtcEngineEventHandler.RemoteVideoStats.decoderOutputFrameRate

The decoder output frame rate (fps) of the remote video.


◆ rendererOutputFrameRate

int io.agora.rtc.IRtcEngineEventHandler.RemoteVideoStats.rendererOutputFrameRate

The renderer output frame rate (fps) of the remote video.

v2.4.1 to replace the receivedFrameRate parameter.

◆ packetLossRate

int io.agora.rtc.IRtcEngineEventHandler.RemoteVideoStats.packetLossRate

Packet loss rate (%) of the remote video stream after network countermeasures.


◆ rxStreamType

int io.agora.rtc.IRtcEngineEventHandler.RemoteVideoStats.rxStreamType

Video stream type (high-stream or low-stream).

◆ totalFrozenTime

int io.agora.rtc.IRtcEngineEventHandler.RemoteVideoStats.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

int io.agora.rtc.IRtcEngineEventHandler.RemoteVideoStats.frozenRate

The total video freeze time (totalFrozenTime) as a percentage (%) of the total active time of the remote video stream (totalActiveTime).


◆ totalActiveTime

int io.agora.rtc.IRtcEngineEventHandler.RemoteVideoStats.totalActiveTime

The total active time (ms) of the remote video stream after the remote user joins the channel.


The total active time refers to the time when the remote user in the COMMUNICATION profile or the remote host in the LIVE_BROADCASTING profile neither stops sending the video stream nor disables the video module after joining the channel.

◆ publishDuration

int io.agora.rtc.IRtcEngineEventHandler.RemoteVideoStats.publishDuration

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