Enumeration StreamPublishState

The publishing state.

Enumeration Members

PubStateIdle: 0

0: The initial publishing state after joining the channel.

PubStateNoPublished: 1

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.

PubStatePublished: 3

3: Publishes successfully.

PubStatePublishing: 2

2: Publishing.

Generated using TypeDoc