Agora RTC Objective-C API Reference Refactor

Properties
AgoraRtcRemoteVideoStats Class Reference

Inherits <NSObject>.

## Properties
NSUInteger | uid
NSUInteger | delay
NSUInteger | e2eDelay
NSUInteger | width
NSUInteger | height
NSUInteger | receivedBitrate
AgoraVideoStreamType | rxStreamType
NSInteger | decoderOutputFrameRate
NSInteger | rendererOutputFrameRate
NSInteger | frameLossRate
NSInteger | packetLossRate
NSInteger | totalFrozenTime
NSUInteger | totalActiveTime
NSInteger | publishDuration
NSInteger | frozenRate
NSInteger | avSyncTimeMs
NSInteger | mosValue
NSUInteger | rxVideoBytes

## Detailed Description

Statistics of the remote video stream.

## Property Documentation

## ◆ uid

- (NSUInteger) uid
| read write nonatomic assign

ID of the remote user sending the video stream.

## ◆ delay

- (NSUInteger) delay
| read write nonatomic assign

Time delay (ms).

## ◆ e2eDelay

- (NSUInteger) e2eDelay
| read write nonatomic assign

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

## ◆ width

- (NSUInteger) width
| read write nonatomic assign

Width (pixels) of the video stream.

## ◆ height

- (NSUInteger) height
| read write nonatomic assign

Height (pixels) of the video stream.

## ◆ receivedBitrate

- (NSUInteger) receivedBitrate
| read write nonatomic assign

Data receive bitrate (Kbps) since last count.

## ◆ rxStreamType

- (AgoraVideoStreamType) rxStreamType
| read write nonatomic assign

Video stream type; high- or low-video stream.

## ◆ decoderOutputFrameRate

- (NSInteger) decoderOutputFrameRate
| read write nonatomic assign

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

## ◆ rendererOutputFrameRate

- (NSInteger) rendererOutputFrameRate
| read write nonatomic assign

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

## ◆ frameLossRate

- (NSInteger) frameLossRate
| read write nonatomic assign

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

## ◆ packetLossRate

- (NSInteger) packetLossRate
| read write nonatomic assign

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

## ◆ totalFrozenTime

- (NSInteger) totalFrozenTime
| read write nonatomic assign

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.

## ◆ totalActiveTime

- (NSUInteger) totalActiveTime
| read write nonatomic assign

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

## ◆ publishDuration

- (NSInteger) publishDuration
| read write nonatomic assign

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

## ◆ frozenRate

- (NSInteger) frozenRate
| read write nonatomic assign

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

## ◆ avSyncTimeMs

- (NSInteger) avSyncTimeMs
| read write nonatomic assign

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.

## ◆ mosValue

- (NSInteger) mosValue
| read write nonatomic assign

The quality of the remote video stream in the reported interval. The quality is determined by the Agora real-time video MOS (Mean Opinion Score) measurement method. The return value range is [0, 500]. Dividing the return value by 100 gets the MOS score, which ranges from 0 to 5. The higher the score, the better the video quality.

Note
  For textured video data, this parameter always returns 0.

## ◆ rxVideoBytes

- (NSUInteger) rxVideoBytes
| read write nonatomic assign

Total number of video bytes received (bytes), represented by an aggregate value.