Options
All
  • Public
  • Public/Protected
  • All
Menu

Enumeration ZegoPublisherState

Publish stream status.

Index

Enumeration members

Enumeration members

NoPublish

NoPublish: = 0

The state is not published, and it is in this state before publishing the stream. If a steady-state exception occurs in the publish process, such as AppID or Token are incorrect, or if other users are already publishing the stream, there will be a failure and enter this state.

PublishRequesting

PublishRequesting: = 1

The state that it is requesting to publish the stream after the [startPublishingStream] function is successfully called. The UI is usually displayed through this state. If the connection is interrupted due to poor network quality, the SDK will perform an internal retry and will return to the requesting state.

Publishing

Publishing: = 2

The state that the stream is being published, entering the state indicates that the stream has been successfully published, and the user can communicate normally.

Generated using TypeDoc