ForwardStreamEvent enum Null safety

跨房间转发媒体流过程中该目标房间发生的事件

Constants

connected → const ForwardStreamEvent

本端与服务器网络连接恢复,转发服务连接成功

const ForwardStreamEvent(1)
disconnected → const ForwardStreamEvent

本端与服务器网络连接断开,暂停转发

const ForwardStreamEvent(0)
dstRoomUpdated → const ForwardStreamEvent

目标房间已更新,由 RTCRoom.updateForwardStreamToRooms 触发

const ForwardStreamEvent(3)
interrupt → const ForwardStreamEvent

转发中断

转发过程中,如果相同 userID 的用户进入目标房间,转发中断。

const ForwardStreamEvent(2)
unexpectedAPICall → const ForwardStreamEvent

API 调用时序错误

例如,在调用 RTCRoom.startForwardStreamToRooms 之前调用 RTCRoom.updateForwardStreamToRooms。

const ForwardStreamEvent(4)
values → const List<ForwardStreamEvent>

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

const List<ForwardStreamEvent>

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