DIRECT_CDN_STREAMING_STATE

Current CDN streaming state.

Deprecated
Deprecated since v4.6.2.

Enumerations

DIRECT_CDN_STREAMING_STATE_IDLE
0: Initial state, streaming has not started yet.
DIRECT_CDN_STREAMING_STATE_RUNNING
1: Streaming in progress. When you call StartDirectCdnStreaming and streaming starts successfully, the SDK returns this value.
DIRECT_CDN_STREAMING_STATE_STOPPED
2: Streaming has ended normally. When you call StopDirectCdnStreaming to stop streaming manually, the SDK returns this value.
DIRECT_CDN_STREAMING_STATE_FAILED
3: Streaming failed. You can troubleshoot using the information reported by the OnDirectCdnStreamingStateChanged callback and then restart streaming.
DIRECT_CDN_STREAMING_STATE_RECOVERING
4: Attempting to reconnect to the Agora server and CDN. It retries up to 10 times. If reconnection still fails, the streaming state changes to DIRECT_CDN_STREAMING_STATE_FAILED.