NERtcChannelMediaRelayState class

媒体流转发状态

Constructors

NERtcChannelMediaRelayState()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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

Constants

connecting → const int
SDK 尝试跨房间转发媒体流
failure → const int
发生异常,详见 onMediaRelayReceiveEvent 的 error 中提示的错误信息
idle → const int
初始状态。在成功调用 NERtcEngine.stopChannelMediaRelay 停止跨房间媒体流转发后, onNERtcEngineChannelMediaRelayStateDidChange 会回调该状态
running → const int
源房间主播角色成功加入目标频道