ZegoPlayStreamQuality
ZegoPlayStreamQuality
Played stream quality information.
Details
Audio and video parameters and network quality, etc.
Declared in ZegoExpressDefines.h
Properties
videoRecvFPS
nonatomic, assign double videoRecvFPSVideo receiving frame rate. The unit of frame rate is f/s
videoDejitterFPS
nonatomic, assign double videoDejitterFPSVideo dejitter frame rate. The unit of frame rate is f/s (Available since 1.17.0)
videoDecodeFPS
nonatomic, assign double videoDecodeFPSVideo decoding frame rate. The unit of frame rate is f/s
videoRenderFPS
nonatomic, assign double videoRenderFPSVideo rendering frame rate. The unit of frame rate is f/s
videoKBPS
nonatomic, assign double videoKBPSVideo bit rate in kbps
videoBreakRate
nonatomic, assign double videoBreakRateVideo break count, break count during the callback cycle (Available since 1.17.0)
audioRecvFPS
nonatomic, assign double audioRecvFPSAudio receiving frame rate. The unit of frame rate is f/s
audioDejitterFPS
nonatomic, assign double audioDejitterFPSAudio dejitter frame rate. The unit of frame rate is f/s (Available since 1.17.0)
audioDecodeFPS
nonatomic, assign double audioDecodeFPSAudio decoding frame rate. The unit of frame rate is f/s
audioRenderFPS
nonatomic, assign double audioRenderFPSAudio rendering frame rate. The unit of frame rate is f/s
audioKBPS
nonatomic, assign double audioKBPSAudio bit rate in kbps
audioBreakRate
nonatomic, assign double audioBreakRateAudio break count, break count during the callback cycle (Available since 1.17.0)
mos
nonatomic, assign double mosThe 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
nonatomic, assign int rttServer to local delay, in milliseconds
packetLostRate
nonatomic, assign double packetLostRatePacket loss rate, in percentage, 0.0 ~ 1.0
peerToPeerDelay
nonatomic, assign int peerToPeerDelayDelay from peer to peer, in milliseconds
peerToPeerPacketLostRate
nonatomic, assign double peerToPeerPacketLostRatePacket loss rate from peer to peer, in percentage, 0.0 ~ 1.0
level
delay
nonatomic, assign int delayDelay after the data is received by the local end, in milliseconds
avTimestampDiff
nonatomic, assign int avTimestampDiffThe 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
nonatomic, assign BOOL isHardwareDecodeWhether to enable hardware decoding
videoCodecID
totalRecvBytes
nonatomic, assign double totalRecvBytesTotal number of bytes received, including audio, video, SEI
audioRecvBytes
nonatomic, assign double audioRecvBytesNumber of audio bytes received
videoRecvBytes
nonatomic, assign double videoRecvBytesNumber of video bytes received
audioCumulativeBreakCount
nonatomic, assign unsigned int audioCumulativeBreakCountAccumulated audio break count (Available since 2.9.0)
audioCumulativeBreakTime
nonatomic, assign unsigned int audioCumulativeBreakTimeAccumulated audio break time, in milliseconds (Available since 2.9.0)
audioCumulativeBreakRate
nonatomic, assign double audioCumulativeBreakRateAccumulated audio break rate, in percentage, 0.0 ~ 100.0 (Available since 2.9.0)
audioCumulativeDecodeTime
nonatomic, assign unsigned int audioCumulativeDecodeTimeAccumulated audio decode time, in milliseconds (Available since 2.9.0)
videoCumulativeBreakCount
nonatomic, assign unsigned int videoCumulativeBreakCountAccumulated video break count (Available since 2.9.0)
videoCumulativeBreakTime
nonatomic, assign unsigned int videoCumulativeBreakTimeAccumulated video break time, in milliseconds (Available since 2.9.0)
videoCumulativeBreakRate
nonatomic, assign double videoCumulativeBreakRateAccumulated video break rate, in percentage, 0.0 ~ 1.0 (Available since 2.9.0)
videoCumulativeDecodeTime
nonatomic, assign unsigned int videoCumulativeDecodeTimeAccumulated video decode time, in milliseconds (Available since 2.9.0)
muteVideo
nonatomic, assign int muteVideoMute video (Available since 3.13.0)
muteAudio
nonatomic, assign int muteAudioMute audio (Available since 3.13.0)
