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