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.
RTMP_STREAM_PUBLISH_STATE_RUNNING(2)
returns.The RTMP streaming publishes. The SDK successfully publishes the RTMP streaming and returns this state.
Generated using TypeDoc
States of the RTMP streaming.