StreamSubscribeState enum
The subscribing state.
Constructors
- StreamSubscribeState()
-
const
Values
- Idle → const StreamSubscribeState
-
The initial subscribing state after joining the channel.
- NoSubscribed → const StreamSubscribeState
-
Fails to subscribe to the remote stream. Possible reasons:
- The remote user:
- Calls
RtcEngine.muteLocalAudioStream
(true
) to stop sending local streams. - The local user calls
RtcEngine.disableAudio
orRtcEngine.disableVideo
to disable the entire audio or video module. - The local user calls
RtcEngine.enableLocalAudio
(false
) orRtcEngine.enableLocalVideo
(false
) to disable the local audio sampling or video capturing. - The role of the local user is
Audience
.
- Calls
- The local user calls the following methods to stop receiving remote streams:
- Calls
RtcEngine.muteRemoteAudioStream
(true
),RtcEngine.muteAllRemoteAudioStreams
(true
), orRtcEngine.setDefaultMuteAllRemoteAudioStreams
(true
) to stop receiving remote audio streams. - Calls
RtcEngine.muteRemoteVideoStream
(true
),RtcEngine.muteAllRemoteVideoStreams
(true
), orRtcEngine.setDefaultMuteAllRemoteVideoStreams
(true
) to stop receiving remote video streams.
- Calls
- The remote user:
- Subscribing → const StreamSubscribeState
-
Subscribing.
- Subscribed → const StreamSubscribeState
-
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.