RemoteAudioStats class Null safety
远端音频流统计信息,统计周期为 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})
- RemoteAudioStats.fromMap(Map map)
-
factory
Properties
- audioLossRate ↔ double?
-
音频丢包率 [...]
read / write
- concealedSamples ↔ int?
-
音频丢包补偿(PLC)样点总个数
read / write
- concealmentEvent ↔ int?
-
PLC 累计次数
read / write
- decDuration ↔ int?
-
解码时长 [...]
read / write
- decSampleRate ↔ int?
-
音频解码采样率 [...]
read / write
- e2eDelay ↔ int?
-
用户体验级别的端到端延时 [...]
read / write
- frozenRate ↔ int?
-
远端用户在加入房间后发生音频卡顿的累计时长占音频总有效时长的百分比 [...]
read / write
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- jitterBufferDelay ↔ int?
-
因引入 jitter buffer 机制导致的延时,单位为 ms 。
read / write
- numChannels ↔ int?
-
音频声道数。
read / write
- playoutSampleRate ↔ int?
-
播放采样率 [...]
read / write
- quality ↔ int?
-
远端用户发送的音频流质量 [...]
read / write
- receivedKBitrate ↔ double?
-
接收码率 [...]
read / write
- receivedSampleRate ↔ int?
-
音频接收采样率 [...]
read / write
- rtt ↔ int?
-
客户端到服务端数据传输的往返时延,单位为 ms。
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- stallCount ↔ int?
-
音频卡顿次数 [...]
read / write
- stallDuration ↔ int?
-
音频卡顿时长 [...]
read / write
- statsInterval ↔ int?
-
统计间隔 [...]
read / write
- totalRtt ↔ int?
-
发送端——服务端——接收端全链路数据传输往返时延,单位为 ms。
read / write
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
A string representation of this object. [...]
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited