RemoteVideoStateChangedReason enum Null safety

远端视频流状态改变的原因

Constants

internal → const RemoteVideoStateChangedReason

内部原因

const RemoteVideoStateChangedReason(0)
localMuted → const RemoteVideoStateChangedReason

本地用户停止接收远端视频流或本地用户禁用视频模块

const RemoteVideoStateChangedReason(3)
localUnmuted → const RemoteVideoStateChangedReason

本地用户恢复接收远端视频流或本地用户启用视频模块

const RemoteVideoStateChangedReason(4)
networkCongestion → const RemoteVideoStateChangedReason

网络阻塞

const RemoteVideoStateChangedReason(1)
networkRecovery → const RemoteVideoStateChangedReason

网络恢复正常

const RemoteVideoStateChangedReason(2)
remoteMuted → const RemoteVideoStateChangedReason

远端用户停止发送视频流或远端用户禁用视频模块

const RemoteVideoStateChangedReason(5)
remoteOffline → const RemoteVideoStateChangedReason

远端用户离开房间

状态转换参看 RTCRoomEventHandler.onUserUnpublishStream/RTCRoomEventHandler.onUserUnpublishScreen。

const RemoteVideoStateChangedReason(7)
remoteUnmuted → const RemoteVideoStateChangedReason

远端用户恢复发送视频流或远端用户启用视频模块

const RemoteVideoStateChangedReason(6)
values → const List<RemoteVideoStateChangedReason>

A constant List of the values in this enum, in order of their declaration.

const List<RemoteVideoStateChangedReason>

Properties

hashCode → int
The hash code for this object. [...]
read-only, inherited
index → int

The integer index of this enum.

final
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() → String
A string representation of this object. [...]
override

Operators

operator ==(Object other) → bool
The equality operator. [...]
inherited