ZegoPlayStreamQuality class

Played stream quality information.

Audio and video parameters and network quality, etc.

Constructors

ZegoPlayStreamQuality(double videoRecvFPS, double videoDejitterFPS, double videoDecodeFPS, double videoRenderFPS, double videoKBPS, double videoBreakRate, double audioRecvFPS, double audioDejitterFPS, double audioDecodeFPS, double audioRenderFPS, double audioKBPS, double audioBreakRate, double mos, int rtt, double packetLostRate, int peerToPeerDelay, double peerToPeerPacketLostRate, ZegoStreamQualityLevel level, int delay, int avTimestampDiff, bool isHardwareDecode, ZegoVideoCodecID videoCodecID, double totalRecvBytes, double audioRecvBytes, double videoRecvBytes, int audioCumulativeBreakCount, int audioCumulativeBreakTime, double audioCumulativeBreakRate, int audioCumulativeDecodeTime, int videoCumulativeBreakCount, int videoCumulativeBreakTime, double videoCumulativeBreakRate, int videoCumulativeDecodeTime, int muteVideo, int muteAudio)

Properties

audioBreakRate ↔ double
Audio break rate, the unit is (number of breaks / every 10 seconds) (Available since 1.17.0)
getter/setter pair
audioCumulativeBreakCount ↔ int
Accumulated audio break count (Available since 2.9.0)
getter/setter pair
audioCumulativeBreakRate ↔ double
Accumulated audio break rate, in percentage, 0.0 ~ 100.0 (Available since 2.9.0)
getter/setter pair
audioCumulativeBreakTime ↔ int
Accumulated audio break time, in milliseconds (Available since 2.9.0)
getter/setter pair
audioCumulativeDecodeTime ↔ int
Accumulated audio decode time, in milliseconds (Available since 2.9.0)
getter/setter pair
audioDecodeFPS ↔ double
Audio decoding frame rate. The unit of frame rate is f/s
getter/setter pair
audioDejitterFPS ↔ double
Audio dejitter frame rate. The unit of frame rate is f/s (Available since 1.17.0)
getter/setter pair
audioKBPS ↔ double
Audio bit rate in kbps
getter/setter pair
audioRecvBytes ↔ double
Number of audio bytes received
getter/setter pair
audioRecvFPS ↔ double
Audio receiving frame rate. The unit of frame rate is f/s
getter/setter pair
audioRenderFPS ↔ double
Audio rendering frame rate. The unit of frame rate is f/s
getter/setter pair
avTimestampDiff ↔ int
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)
getter/setter pair
delay ↔ int
Delay after the data is received by the local end, in milliseconds
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
isHardwareDecode ↔ bool
Whether to enable hardware decoding
getter/setter pair
level ZegoStreamQualityLevel
Published stream quality level
getter/setter pair
mos ↔ double
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)
getter/setter pair
muteAudio ↔ int
Mute audio (Available since 3.13.0)
getter/setter pair
muteVideo ↔ int
Mute video (Available since 3.13.0)
getter/setter pair
packetLostRate ↔ double
Packet loss rate, in percentage, 0.0 ~ 1.0
getter/setter pair
peerToPeerDelay ↔ int
Delay from peer to peer, in milliseconds
getter/setter pair
peerToPeerPacketLostRate ↔ double
Packet loss rate from peer to peer, in percentage, 0.0 ~ 1.0
getter/setter pair
rtt ↔ int
Server to local delay, in milliseconds
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
totalRecvBytes ↔ double
Total number of bytes received, including audio, video, SEI
getter/setter pair
videoBreakRate ↔ double
Video break rate, the unit is (number of breaks / every 10 seconds) (Available since 1.17.0)
getter/setter pair
videoCodecID ZegoVideoCodecID
Video codec ID (Available since 1.17.0)
getter/setter pair
videoCumulativeBreakCount ↔ int
Accumulated video break count (Available since 2.9.0)
getter/setter pair
videoCumulativeBreakRate ↔ double
Accumulated video break rate, in percentage, 0.0 ~ 1.0 (Available since 2.9.0)
getter/setter pair
videoCumulativeBreakTime ↔ int
Accumulated video break time, in milliseconds (Available since 2.9.0)
getter/setter pair
videoCumulativeDecodeTime ↔ int
Accumulated video decode time, in milliseconds (Available since 2.9.0)
getter/setter pair
videoDecodeFPS ↔ double
Video decoding frame rate. The unit of frame rate is f/s
getter/setter pair
videoDejitterFPS ↔ double
Video dejitter frame rate. The unit of frame rate is f/s (Available since 1.17.0)
getter/setter pair
videoKBPS ↔ double
Video bit rate in kbps
getter/setter pair
videoRecvBytes ↔ double
Number of video bytes received
getter/setter pair
videoRecvFPS ↔ double
Video receiving frame rate. The unit of frame rate is f/s
getter/setter pair
videoRenderFPS ↔ double
Video rendering frame rate. The unit of frame rate is f/s
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited