Class ZegoPlayStreamQuality


  • public class ZegoPlayStreamQuality
    extends java.lang.Object
    Played stream quality information. Audio and video parameters and network quality, etc.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • videoRecvFPS

        public double videoRecvFPS
        Video receiving frame rate. The unit of frame rate is f/s
      • videoDejitterFPS

        public double videoDejitterFPS
        Video dejitter frame rate. The unit of frame rate is f/s (Available since 1.17.0)
      • videoDecodeFPS

        public double videoDecodeFPS
        Video decoding frame rate. The unit of frame rate is f/s
      • videoRenderFPS

        public double videoRenderFPS
        Video rendering frame rate. The unit of frame rate is f/s
      • videoKBPS

        public double videoKBPS
        Video bit rate in kbps
      • videoBreakRate

        public double videoBreakRate
        Video break rate, the unit is (number of breaks / every 10 seconds) (Available since 1.17.0)
      • audioRecvFPS

        public double audioRecvFPS
        Audio receiving frame rate. The unit of frame rate is f/s
      • audioDejitterFPS

        public double audioDejitterFPS
        Audio dejitter frame rate. The unit of frame rate is f/s (Available since 1.17.0)
      • audioDecodeFPS

        public double audioDecodeFPS
        Audio decoding frame rate. The unit of frame rate is f/s
      • audioRenderFPS

        public double audioRenderFPS
        Audio rendering frame rate. The unit of frame rate is f/s
      • audioKBPS

        public double audioKBPS
        Audio bit rate in kbps
      • audioBreakRate

        public double audioBreakRate
        Audio break rate, the unit is (number of breaks / every 10 seconds) (Available since 1.17.0)
      • mos

        public 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

        public int rtt
        Server to local delay, in milliseconds
      • packetLostRate

        public double packetLostRate
        Packet loss rate, in percentage, 0.0 ~ 1.0
      • peerToPeerDelay

        public int peerToPeerDelay
        Delay from peer to peer, in milliseconds
      • peerToPeerPacketLostRate

        public double peerToPeerPacketLostRate
        Packet loss rate from peer to peer, in percentage, 0.0 ~ 1.0
      • delay

        public int delay
        Delay after the data is received by the local end, in milliseconds
      • avTimestampDiff

        public 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

        public boolean isHardwareDecode
        Whether to enable hardware decoding
      • videoCodecID

        public ZegoVideoCodecID videoCodecID
        Video codec ID (Available since 1.17.0)
      • totalRecvBytes

        public double totalRecvBytes
        Total number of bytes received, including audio, video, SEI
      • audioRecvBytes

        public double audioRecvBytes
        Number of audio bytes received
      • videoRecvBytes

        public double videoRecvBytes
        Number of video bytes received
      • audioCumulativeBreakCount

        public int audioCumulativeBreakCount
        Accumulated audio break count (Available since 2.9.0)
      • audioCumulativeBreakTime

        public int audioCumulativeBreakTime
        Accumulated audio break time, in milliseconds (Available since 2.9.0)
      • audioCumulativeBreakRate

        public double audioCumulativeBreakRate
        Accumulated audio break rate, in percentage, 0.0 ~ 100.0 (Available since 2.9.0)
      • audioCumulativeDecodeTime

        public int audioCumulativeDecodeTime
        Accumulated audio decode time, in milliseconds (Available since 2.9.0)
      • videoCumulativeBreakCount

        public int videoCumulativeBreakCount
        Accumulated video break count (Available since 2.9.0)
      • videoCumulativeBreakTime

        public int videoCumulativeBreakTime
        Accumulated video break time, in milliseconds (Available since 2.9.0)
      • videoCumulativeBreakRate

        public double videoCumulativeBreakRate
        Accumulated video break rate, in percentage, 0.0 ~ 1.0 (Available since 2.9.0)
      • videoCumulativeDecodeTime

        public int videoCumulativeDecodeTime
        Accumulated video decode time, in milliseconds (Available since 2.9.0)
      • muteVideo

        public int muteVideo
        Mute video (Available since 3.13.0)
      • muteAudio

        public int muteAudio
        Mute audio (Available since 3.13.0)
    • Constructor Detail

      • ZegoPlayStreamQuality

        public ZegoPlayStreamQuality()