logo
On this page

ZegoPlayStreamQuality

ZegoPlayStreamQuality

Played stream quality information.

Details

Audio and video parameters and network quality, etc.

Declared in ZegoExpressDefines.h

Properties

videoRecvFPS

videoRecvFPS
nonatomic, assign double videoRecvFPS

Video receiving frame rate. The unit of frame rate is f/s

videoDejitterFPS

videoDejitterFPS
nonatomic, assign double videoDejitterFPS

Video dejitter frame rate. The unit of frame rate is f/s (Available since 1.17.0)

videoDecodeFPS

videoDecodeFPS
nonatomic, assign double videoDecodeFPS

Video decoding frame rate. The unit of frame rate is f/s

videoRenderFPS

videoRenderFPS
nonatomic, assign double videoRenderFPS

Video rendering frame rate. The unit of frame rate is f/s

videoKBPS

videoKBPS
nonatomic, assign double videoKBPS

Video bit rate in kbps

videoBreakRate

videoBreakRate
nonatomic, assign double videoBreakRate

Video break count, break count during the callback cycle (Available since 1.17.0)

audioRecvFPS

audioRecvFPS
nonatomic, assign double audioRecvFPS

Audio receiving frame rate. The unit of frame rate is f/s

audioDejitterFPS

audioDejitterFPS
nonatomic, assign double audioDejitterFPS

Audio dejitter frame rate. The unit of frame rate is f/s (Available since 1.17.0)

audioDecodeFPS

audioDecodeFPS
nonatomic, assign double audioDecodeFPS

Audio decoding frame rate. The unit of frame rate is f/s

audioRenderFPS

audioRenderFPS
nonatomic, assign double audioRenderFPS

Audio rendering frame rate. The unit of frame rate is f/s

audioKBPS

audioKBPS
nonatomic, assign double audioKBPS

Audio bit rate in kbps

audioBreakRate

audioBreakRate
nonatomic, assign double audioBreakRate

Audio break count, break count during the callback cycle (Available since 1.17.0)

mos

mos
nonatomic, assign double mos

The audio quality of the playing stream determined by the audio MOS (Mean Opinion Score) measurement method, value range [-1, 5], where -1 means unknown, [0, 5] means valid score, the higher the score, the better the audio quality. For the subjective perception corresponding to the MOS value, please refer to https://docs.zegocloud.com/article/3720#4_4 (Available since 2.16.0)

rtt

rtt
nonatomic, assign int rtt

Server to local delay, in milliseconds

packetLostRate

packetLostRate
nonatomic, assign double packetLostRate

Packet loss rate, in percentage, 0.0 ~ 1.0

peerToPeerDelay

peerToPeerDelay
nonatomic, assign int peerToPeerDelay

Delay from peer to peer, in milliseconds

peerToPeerPacketLostRate

peerToPeerPacketLostRate
nonatomic, assign double peerToPeerPacketLostRate

Packet loss rate from peer to peer, in percentage, 0.0 ~ 1.0

level

level
nonatomic, assign ZegoStreamQualityLevel level

Published stream quality level

delay

delay
nonatomic, assign int delay

Delay after the data is received by the local end, in milliseconds

avTimestampDiff

avTimestampDiff
nonatomic, assign int avTimestampDiff

The difference between the video timestamp and the audio timestamp, used to reflect the synchronization of audio and video, in milliseconds. This value is less than 0 means the number of milliseconds that the video leads the audio, greater than 0 means the number of milliseconds that the video lags the audio, and 0 means no difference. When the absolute value is less than 200, it can basically be regarded as synchronized audio and video, when the absolute value is greater than 200 for 10 consecutive seconds, it can be regarded as abnormal (Available since 1.19.0)

isHardwareDecode

isHardwareDecode
nonatomic, assign BOOL isHardwareDecode

Whether to enable hardware decoding

videoCodecID

videoCodecID
nonatomic, assign ZegoVideoCodecID videoCodecID

Video codec ID (Available since 1.17.0)

totalRecvBytes

totalRecvBytes
nonatomic, assign double totalRecvBytes

Total number of bytes received, including audio, video, SEI

audioRecvBytes

audioRecvBytes
nonatomic, assign double audioRecvBytes

Number of audio bytes received

videoRecvBytes

videoRecvBytes
nonatomic, assign double videoRecvBytes

Number of video bytes received

audioCumulativeBreakCount

audioCumulativeBreakCount
nonatomic, assign unsigned int audioCumulativeBreakCount

Accumulated audio break count (Available since 2.9.0)

audioCumulativeBreakTime

audioCumulativeBreakTime
nonatomic, assign unsigned int audioCumulativeBreakTime

Accumulated audio break time, in milliseconds (Available since 2.9.0)

audioCumulativeBreakRate

audioCumulativeBreakRate
nonatomic, assign double audioCumulativeBreakRate

Accumulated audio break rate, in percentage, 0.0 ~ 100.0 (Available since 2.9.0)

audioCumulativeDecodeTime

audioCumulativeDecodeTime
nonatomic, assign unsigned int audioCumulativeDecodeTime

Accumulated audio decode time, in milliseconds (Available since 2.9.0)

videoCumulativeBreakCount

videoCumulativeBreakCount
nonatomic, assign unsigned int videoCumulativeBreakCount

Accumulated video break count (Available since 2.9.0)

videoCumulativeBreakTime

videoCumulativeBreakTime
nonatomic, assign unsigned int videoCumulativeBreakTime

Accumulated video break time, in milliseconds (Available since 2.9.0)

videoCumulativeBreakRate

videoCumulativeBreakRate
nonatomic, assign double videoCumulativeBreakRate

Accumulated video break rate, in percentage, 0.0 ~ 1.0 (Available since 2.9.0)

videoCumulativeDecodeTime

videoCumulativeDecodeTime
nonatomic, assign unsigned int videoCumulativeDecodeTime

Accumulated video decode time, in milliseconds (Available since 2.9.0)

muteVideo

muteVideo
nonatomic, assign int muteVideo

Mute video (Available since 3.13.0)

muteAudio

muteAudio
nonatomic, assign int muteAudio

Mute audio (Available since 3.13.0)

Previous

zegoplayerconfig

Next

zegoposition

On this page

Back to top