RemoteAudioStats class

远端音频流统计信息,统计周期为 2s。

本地用户订阅远端音频流成功后,SDK 会周期性地通过 RTCRoomEventHandler.onRemoteStreamStats 通知本地用户订阅的音频流在此次统计周期内的接收状况,此数据结构即为回调给本地用户的参数类型。

Constructors

RemoteAudioStats({double? audioLossRate, double? receivedKBitrate, int? stallCount, int? stallDuration, int? e2eDelay, int? playoutSampleRate, int? statsInterval, int? rtt, int? totalRtt, int? quality, int? jitterBufferDelay, int? numChannels, int? receivedSampleRate, int? frozenRate, int? concealedSamples, int? concealmentEvent, int? decSampleRate, int? decDuration, int? jitter})
const

Properties

audioLossRate → double?
音频丢包率
final
concealedSamples → int?
音频丢包补偿(PLC)样点总个数
final
concealmentEvent → int?
PLC 累计次数
final
decDuration → int?
此次订阅中,对远端音频流进行解码的累计耗时。单位为 s。
final
decSampleRate → int?
音频解码采样率
final
e2eDelay → int?
用户体验级别的端到端延时
final
frozenRate → int?
远端用户在加入房间后发生音频卡顿的累计时长占音频总有效时长的百分比
final
hashCode → int
The hash code for this object.
read-onlyinherited
jitter → int?
音频下行网络抖动,单位为 ms
final
jitterBufferDelay → int?
因引入 jitter buffer 机制导致的延时,单位为 ms 。
final
numChannels → int?
音频声道数。
final
playoutSampleRate → int?
播放采样率
final
quality → int?
远端用户发送的音频流质量
final
receivedKBitrate → double?
接收码率
final
receivedSampleRate → int?
音频接收采样率
final
rtt → int?
客户端到服务端数据传输的往返时延,单位为 ms。
final
runtimeType → Type
A representation of the runtime type of the object.
read-onlyinherited
stallCount → int?
音频卡顿次数
final
stallDuration → int?
音频卡顿时长
final
statsInterval → int?
统计间隔
final
totalRtt → int?
发送端——服务端——接收端全链路数据传输往返时延,单位为 ms。
final

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