Agora RTC Objective-C API Reference  Refactor
Data Fields
RemoteVideoStats Struct Reference

Data Fields

uid_t uid
 
int delay
 
int width
 
int height
 
int receivedBitrate
 
int decoderOutputFrameRate
 
int rendererOutputFrameRate
 
int frameLossRate
 
int packetLossRate
 
VIDEO_STREAM_TYPE rxStreamType
 
int totalFrozenTime
 
int frozenRate
 
int avSyncTimeMs
 
int totalActiveTime
 
int publishDuration
 
int superResolutionType
 

Detailed Description

The statistics of the remote video stream.

Field Documentation

◆ uid

uid_t uid

ID of the remote user sending the video stream.

◆ delay

int delay
Deprecated:
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 width

The width (pixels) of the video stream.

◆ height

int height

The height (pixels) of the video stream.

◆ receivedBitrate

int receivedBitrate

Bitrate (Kbps) received since the last count.

◆ decoderOutputFrameRate

int decoderOutputFrameRate

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

◆ rendererOutputFrameRate

int rendererOutputFrameRate

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

◆ frameLossRate

int frameLossRate

The video frame loss rate (%) of the remote video stream in the reported interval.

◆ packetLossRate

int packetLossRate

Packet loss rate (%) of the remote video stream after using the anti-packet-loss method.

◆ rxStreamType

VIDEO_STREAM_TYPE rxStreamType

The type of the remote video stream: VIDEO_STREAM_TYPE.

◆ totalFrozenTime

int 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 frozenRate

The total video freeze time as a percentage (%) of the total time when the video is available.

◆ avSyncTimeMs

int avSyncTimeMs

The offset (ms) between audio and video stream. A positive value indicates the audio leads the video, and a negative value indicates the audio lags the video.

◆ totalActiveTime

int totalActiveTime

The total time (ms) when the remote user neither stops sending the audio stream nor disables the audio module after joining the channel.

◆ publishDuration

int publishDuration

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

◆ superResolutionType

int superResolutionType

The SuperResolution stats. 0 is not ok. >0 is ok.