STREAM_PUBLISH_STATE
The publishing state.
Enumerator
- PUB_STATE_IDLE
- 0: The initial publishing state after joining the channel.
- PUB_STATE_NO_PUBLISHED
-
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.
- The local user calls MuteLocalAudioStream(
- PUB_STATE_PUBLISHING
- 2: Publishing.
- PUB_STATE_PUBLISHED
- 3: Publishes successfully.