StreamSubscribeState enum
The subscribing state.
Constructors
- StreamSubscribeState()
-
const
Values
- Idle → const StreamSubscribeState
-
0: The initial subscribing state after joining the channel.
- NoSubscribed → const StreamSubscribeState
-
1: Fails to subscribe to the remote stream. Possible reasons: The remote user: Calls muteLocalAudioStream (true) or muteLocalVideoStream (true) to stop sending local media stream. Calls disableAudio or disableVideo to disable the local audio or video module. Calls enableLocalAudio (false) or enableLocalVideo (false) to disable the local audio or video capture. The role of the remote user is audience. The local user calls the following methods to stop receiving remote streams: Calls muteRemoteAudioStream (true), muteAllRemoteAudioStreams (true) or setDefaultMuteAllRemoteAudioStreams (true) to stop receiving the remote audio streams. Calls muteRemoteVideoStream (true), muteAllRemoteVideoStreams (true) or setDefaultMuteAllRemoteVideoStreams (true) to stop receiving the remote video streams.
- Subscribing → const StreamSubscribeState
-
2: Subscribing.
- Subscribed → const StreamSubscribeState
-
3: Subscribes to and receives the remote stream successfully.
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<
StreamSubscribeState> - A constant List of the values in this enum, in order of their declaration.