States of the RTMP streaming.
The SDK is connecting to Agora streaming server and the RTMP server. This state is triggered after you call the addPublishStreamUrl method.
The RTMP streaming fails. See the
errCode parameter for the detailed error information. You can also call the
addPublishStreamUrl method to publish the RTMP streaming again.
The RTMP streaming has not started or has ended. This state is also triggered after you remove an RTMP address from the CDN by calling removePublishStreamUrl.
The RTMP streaming is recovering. When exceptions occur to the CDN, or the streaming is interrupted, the SDK tries to resume RTMP streaming and returns this state.
The RTMP streaming publishes. The SDK successfully publishes the RTMP streaming and returns this state.
Generated using TypeDoc