STREAM_PUBLISH_STATE
Publish state.
Enumerations
- PUB_STATE_IDLE
- 0: Initial publish state after joining the channel.
- PUB_STATE_NO_PUBLISHED
- 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 the local audio or video module.
- The local user called EnableLocalAudio(false) or EnableLocalVideo(false) to disable local audio or video capture.
- The local user's role is audience.
- PUB_STATE_PUBLISHING
- 2: Publishing.
- PUB_STATE_PUBLISHED
- 3: Publish succeeded.