StreamPublishState enum

The publishing state.

Inheritance
Available extensions
Annotations
  • @JsonEnum(alwaysCreate: true)

Values

pubStateIdle → const StreamPublishState

0: The initial publishing state after joining the channel.

pubStateNoPublished → const StreamPublishState

1: Fails to publish the local stream. Possible reasons: The local user calls muteLocalAudioStream (true) or muteLocalVideoStream (true) to stop sending local media streams. The local user calls disableAudio or disableVideo to disable the local audio or video module. The local user calls enableLocalAudio (false) or enableLocalVideo (false) to disable the local audio or video capture. The role of the local user is audience.

pubStatePublishing → const StreamPublishState

2: Publishing.

pubStatePublished → const StreamPublishState

3: Publishes successfully.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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.