Options
All
  • Public
  • Public/Protected
  • All
Menu

Enumeration STREAM_PUBLISH_STATE

The publishing state.

since

v3.2.0

Index

Enumeration members

PUB_STATE_IDLE

PUB_STATE_IDLE: = 0

0: The initial publishing state after joining the channel.

PUB_STATE_NO_PUBLISHED

PUB_STATE_NO_PUBLISHED: = 1

1: Fails to publish the local stream. Possible reasons:

  • The local user calls \ref IRtcEngine::muteLocalAudioStream "muteLocalAudioStream(true)" or \ref IRtcEngine::muteLocalVideoStream "muteLocalVideoStream(true)" to stop sending local streams.
  • The local user calls \ref IRtcEngine::disableAudio "disableAudio" or \ref IRtcEngine::disableVideo "disableVideo" to disable the entire audio or video module.
  • The local user calls \ref IRtcEngine::enableLocalAudio "enableLocalAudio(false)" or \ref IRtcEngine::enableLocalVideo "enableLocalVideo(false)" to disable the local audio sampling or video capturing.
  • The role of the local user is AUDIENCE.

PUB_STATE_PUBLISHED

PUB_STATE_PUBLISHED: = 3

3: Publishes successfully.

PUB_STATE_PUBLISHING

PUB_STATE_PUBLISHING: = 2

2: Publishing.