ZegoPlayStreamQuality class
拉流质量对象
音视频参数与网络质量等
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
-
音频卡顿率,单位为(卡顿次数/每10秒) (1.17.0 及以上版本支持)
getter/setter pair
- audioCumulativeBreakCount ↔ int
-
累计音频卡顿次数 (2.9.0 及以上版本支持)
getter/setter pair
- audioCumulativeBreakRate ↔ double
-
累计音频卡顿率,单位为百分比,0.0 ~ 100.0 (2.9.0 及以上版本支持)
getter/setter pair
- audioCumulativeBreakTime ↔ int
-
累计音频卡顿时长,单位为毫秒 (2.9.0 及以上版本支持)
getter/setter pair
- audioCumulativeDecodeTime ↔ int
-
累计音频解码时长,单位为毫秒 (2.9.0 及以上版本支持)
getter/setter pair
- audioDecodeFPS ↔ double
-
音频解码帧率,单位为 f/s
getter/setter pair
- audioDejitterFPS ↔ double
-
音频抗抖动帧率,单位为 f/s (1.17.0 及以上版本支持)
getter/setter pair
- audioKBPS ↔ double
-
音频码率,单位为 kbps
getter/setter pair
- audioRecvBytes ↔ double
-
已接收的音频字节数
getter/setter pair
- audioRecvFPS ↔ double
-
音频接收帧率,单位为 f/s
getter/setter pair
- audioRenderFPS ↔ double
-
音频渲染帧率,单位为 f/s
getter/setter pair
- avTimestampDiff ↔ int
-
视频时间戳相对于音频时间戳的差值,用于反映音画同步情况,单位为毫秒。此值小于 0 表示视频超前音频的毫秒数, 大于 0 表示视频滞后音频的毫秒数, 等于0表示无差别。 当绝对值小于200,可基本认为音画同步,当绝对值连续 10 秒大于 200 可以认为异常 (支持版本:1.19.0 及以上)
getter/setter pair
- delay ↔ int
-
本端接收到数据后到播放的延迟,单位为毫秒
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- isHardwareDecode ↔ bool
-
是否开启硬件解码
getter/setter pair
- level ↔ ZegoStreamQualityLevel
-
拉流质量级别
getter/setter pair
- mos ↔ double
-
音频 MOS (平均主观意见分) 评估方法对拉流音频的质量评分,取值范围
-1, 5
,其中 -1 表示未知,0, 5
表示有效的评分,分数越高,音频质量越好。评分对应的主观感受请查阅 https://doc-zh.zego.im/article/1074#4_4 (2.16.0 及以上版本支持)getter/setter pair - muteAudio ↔ int
-
禁用音频, (3.13.0 及以上版本支持)
getter/setter pair
- muteVideo ↔ int
-
禁用视频, (3.13.0 及以上版本支持)
getter/setter pair
- packetLostRate ↔ double
-
丢包率,单位为百分比,0.0 ~ 1.0
getter/setter pair
- peerToPeerDelay ↔ int
-
端到端延迟,单位为毫秒
getter/setter pair
- peerToPeerPacketLostRate ↔ double
-
端到端丢包率,单位为百分比,0.0 ~ 1.0
getter/setter pair
- rtt ↔ int
-
服务端至本端的延迟,单位为毫秒
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- totalRecvBytes ↔ double
-
已接收的总字节数,包括音频、视频和 SEI 等
getter/setter pair
- videoBreakRate ↔ double
-
视频卡顿率,单位为(卡顿次数/每10秒)(1.17.0 及以上版本支持)
getter/setter pair
- videoCodecID ↔ ZegoVideoCodecID
-
视频编码格式 (1.17.0 及以上版本支持)
getter/setter pair
- videoCumulativeBreakCount ↔ int
-
累计视频卡顿次数 (2.9.0 及以上版本支持)
getter/setter pair
- videoCumulativeBreakRate ↔ double
-
累计视频卡顿率,单位为百分比,0.0 ~ 1.0 (2.9.0 及以上版本支持)
getter/setter pair
- videoCumulativeBreakTime ↔ int
-
累计视频卡顿时长,单位为毫秒 (2.9.0 及以上版本支持)
getter/setter pair
- videoCumulativeDecodeTime ↔ int
-
累计视频解码时长,单位为毫秒 (2.9.0 及以上版本支持)
getter/setter pair
- videoDecodeFPS ↔ double
-
视频解码帧率,单位为 f/s
getter/setter pair
- videoDejitterFPS ↔ double
-
视频抗抖动帧率,单位为 f/s (1.17.0 及以上版本支持)
getter/setter pair
- videoKBPS ↔ double
-
视频码率,单位为 kbps
getter/setter pair
- videoRecvBytes ↔ double
-
已接收的视频字节数
getter/setter pair
- videoRecvFPS ↔ double
-
视频接收帧率,单位为 f/s
getter/setter pair
- videoRenderFPS ↔ double
-
视频渲染帧率,单位为 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