LocalStreamStats class

本地音/视频流统计信息以及网络状况,统计周期为 2s

本地用户发布音/视频流成功后,SDK 会周期性地通过 RTCRoomEventHandler.onLocalStreamStats 通知本地用户发布的音/视频流在此次统计周期内的发送状况,此数据结构即为回调给用户的参数类型。

Constructors

LocalStreamStats({LocalAudioStats? audioStats, LocalVideoStats? videoStats, bool? isScreen})
const

Properties

audioStats → LocalAudioStats?
本地设备发送音频流的统计信息
final
hashCode → int
The hash code for this object.
read-onlyinherited
isScreen → bool?
所属用户的媒体流是否为屏幕流
final
runtimeType → Type
A representation of the runtime type of the object.
read-onlyinherited
videoStats → LocalVideoStats?
本地设备发送视频流的统计信息
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