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: Published successfully.