• Public
  • Public/Protected
  • All

Enumeration ZegoPlayerState

Playing stream status.


Enumeration members

Enumeration members


NoPlay: = 0

The state of the flow is not played, and it is in this state before the stream is played. If the steady flow anomaly occurs during the playing process, such as AppID and AppSign are incorrect, it will enter this state.


PlayRequesting: = 1

The state that the stream is being requested for playing. After the [startPlayingStream] function is successfully called, it will enter the state. 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.


Playing: = 2

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

Generated using TypeDoc