StreamPublishState
Publishing state.
Enumerations
- PubStateIdle
- 0: Initial publishing state after joining the channel.
- PubStateNoPublished
- 1: Publishing failed. Possible reasons:
- The local user called
muteLocalAudioStream(true)ormuteLocalVideoStream(true)to stop sending local media streams. - The local user called disableAudio or disableVideo to disable the local audio or video module.
- The local user called
enableLocalAudio(false)orenableLocalVideo(false)to disable local audio or video capture. - The local user's role is audience.
- The local user called
- PubStatePublishing
- 2: Publishing in progress.
- PubStatePublished
- 3: Publishing succeeded.