StreamPublishState enum
The publishing state.
@since v3.1.2.
Values
- Idle → const StreamPublishState
-
The initial publishing state after joining the channel.
- NoPublished → const StreamPublishState
-
Fails to publish the local stream. Possible reasons:
- The local user calls RtcEngine.muteLocalAudioStream (
true
) ormuteLocalVideoStream
(true
) to stop sending local streams. - The local user calls RtcEngine.disableAudio or RtcEngine.disableVideo to disable the entire audio or video module.
- The local user calls RtcEngine.enableLocalAudio (
false
) or RtcEngine.enableLocalVideo (false
) to disable the local audio sampling or video capturing. - The role of the local user is
Audience
.
- The local user calls RtcEngine.muteLocalAudioStream (
- Publishing → const StreamPublishState
-
Publishing.
- Published → const StreamPublishState
-
Publishes 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<
StreamPublishState> - A constant List of the values in this enum, in order of their declaration.