StreamPublishState enum
The publishing state.
Constructors
- StreamPublishState()
-
const
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
) orRtcEngine.muteLocalVideoStream
(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
.
- The local user calls
- 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.