DIRECT_CDN_STREAMING_STATE
Current CDN streaming state.
- Deprecated
- Deprecated since v4.6.0.
Enumerations
- DIRECT_CDN_STREAMING_STATE_IDLE
- (0): Initial state before CDN streaming starts.
- DIRECT_CDN_STREAMING_STATE_RUNNING
- (1): Streaming to CDN. The SDK returns this value when startDirectCdnStreaming is called.
- DIRECT_CDN_STREAMING_STATE_STOPPED
- (2): Stopped streaming to CDN. The SDK returns this value when stopDirectCdnStreaming is called.
- DIRECT_CDN_STREAMING_STATE_FAILED
- (3): Failed to stream to CDN. You can get the error information from the onDirectCdnStreamingStateChanged callback to troubleshoot and restart streaming.
- DIRECT_CDN_STREAMING_STATE_RECOVERING
- (4): Trying to reconnect Agora server to CDN. The SDK retries up to 10 times; if unsuccessful, the state changes to
DIRECT_CDN_STREAMING_STATE_FAILED.