Agora RTC Objective-C API Reference Refactor

Data Fields
RemoteVideoTrackStats Struct Reference

## Data Fields
uid_t | uid
int | delay
int | e2eDelay
int | width
int | height
int | receivedBitrate
int | decoderOutputFrameRate
int | rendererOutputFrameRate
int | frameLossRate
int | packetLossRate
VIDEO_STREAM_TYPE | rxStreamType
int | totalFrozenTime
int | frozenRate
uint32_t | received_bytes
uint32_t | totalDecodedFrames
int | avSyncTimeMs
uint32_t | downlink_process_time_ms
uint32_t | frame_render_delay_ms
uint64_t | totalActiveTime
uint64_t | publishDuration
int | vqa_mos
int | vqa_avg_cost_ms

## Detailed Description

The struct of RemoteVideoTrackStats.

## Constructor & Destructor Documentation

## ◆ RemoteVideoTrackStats()

RemoteVideoTrackStats | ( |  | ) |
| inline

## Field Documentation

## ◆ uid

uid_t uid

The ID of the remote user.

## ◆ delay

int delay

The overall delay (ms) of the video frames.

## ◆ e2eDelay

int e2eDelay

End-to-end delay from video capturer to video renderer. Hardware capture or render delay is excluded.

## ◆ width

int width

The width (pixel) of the remote video track.

## ◆ height

int height

The height (pixel) of the remote video track.

## ◆ receivedBitrate

int receivedBitrate

The bitrate (Kbps) received in the reported interval.

## ◆ decoderOutputFrameRate

int decoderOutputFrameRate

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

## ◆ rendererOutputFrameRate

int rendererOutputFrameRate

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

## ◆ frameLossRate

int frameLossRate

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

## ◆ packetLossRate

int packetLossRate

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

## ◆ rxStreamType

VIDEO_STREAM_TYPE rxStreamType

The remote video stream type: VIDEO_STREAM_TYPE.

## ◆ totalFrozenTime

int totalFrozenTime

The total freeze time (ms) of the remote video track 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.

## ◆ received_bytes

uint32_t received_bytes

The number of video bytes received.

## ◆ totalDecodedFrames

uint32_t totalDecodedFrames

The total number of decoded video frames.

## ◆ 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.

## ◆ downlink_process_time_ms

uint32_t downlink_process_time_ms

The average offset(ms) between receive first packet which composite the frame and the frame ready to render.

## ◆ frame_render_delay_ms

uint32_t frame_render_delay_ms

The average time cost in renderer.

## ◆ totalActiveTime

uint64_t totalActiveTime

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

## ◆ publishDuration

uint64_t publishDuration

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

## ◆ vqa_mos

int vqa_mos

decoded frame vqa mos value after all filter.

## ◆ vqa_avg_cost_ms

int vqa_avg_cost_ms

vqa avg cost ms