StreamSubscribeState enum
The subscribing state.
Values
- subStateIdle → const StreamSubscribeState
-
0: The initial publishing state after joining the channel.
- subStateNoSubscribed → 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 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: Call muteRemoteAudioStream (true) or muteAllRemoteAudioStreams (true) to stop receiving the remote audio stream. Call muteRemoteVideoStream (true) or muteAllRemoteVideoStreams (true) to stop receiving the remote video stream.
- subStateSubscribing → const StreamSubscribeState
-
2: Subscribing.
- subStateSubscribed → const StreamSubscribeState
-
3: The remote stream is received, and the subscription is successful.
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.