ForwardStreamState enum Null safety
媒体流跨房间转发状态
Constants
- failure → const ForwardStreamState
-
转发失败,失败详情参看 ForwardStreamError
调用 RTCRoom.startForwardStreamToRooms 或 RTCRoom.updateForwardStreamToRooms 后,如遇转发失败,返回此状态。
const ForwardStreamState(2) - idle → const ForwardStreamState
-
空闲状态
- 成功调用 RTCRoom.stopForwardStreamToRooms 后,所有目标房间为空闲状态。
- 成功调用 RTCRoom.updateForwardStreamToRooms 减少目标房间后,本次减少的目标房间为空闲状态。
const ForwardStreamState(0) - success → const ForwardStreamState
-
开始转发
- 调用 RTCRoom.startForwardStreamToRooms 成功向所有房间开始转发媒体流后,返回此状态。
- 调用 RTCRoom.updateForwardStreamToRooms 后,成功向新增目标房间开始转发媒体流后,返回此状态。
const ForwardStreamState(1) -
values
→ const List<
ForwardStreamState> -
A constant List of the values in this enum, in order of their declaration.
const List<ForwardStreamState>
Properties
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