LocalStreamStats class Null safety
本地音/视频流统计信息以及网络状况,统计周期为 2s
本地用户发布音/视频流成功后,SDK 会周期性地通过 RTCRoomEventHandler.onLocalStreamStats 通知本地用户发布的音/视频流在此次统计周期内的发送状况,此数据结构即为回调给用户的参数类型。
Constructors
- LocalStreamStats({LocalAudioStats? audioStats, LocalVideoStats? videoStats, bool? isScreen})
- LocalStreamStats.fromMap(Map map)
-
factory
Properties
- audioStats ↔ LocalAudioStats?
-
本地设备发送音频流的统计信息
read / write
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- isScreen ↔ bool?
-
所属用户的媒体流是否为屏幕流 [...]
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- videoStats ↔ LocalVideoStats?
-
本地设备发送视频流的统计信息
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