StreamPublishState
Publish state.
Enumerations
- PubStateIdle
- 0: Initial publish state after joining the channel.
- PubStateNoPublished
- 1: Publish failed. Possible reasons:
- The local user called muteLocalAudioStream(true) or muteLocalVideoStream(true) to stop sending local media streams.
- The local user called disableAudio or disableVideo to disable local audio or video modules.
- The local user called enableLocalAudio(false) or enableLocalVideo(false) to disable local audio or video capture.
- The local user is an audience member.
- PubStatePublishing
- 2: Publishing.
- PubStatePublished
- 3: Publish successful.