AgoraRtmpStreamingErrorCode Constants Reference

Declared in AgoraEnumerates.h

AgoraRtmpStreamingErrorCode

The detailed error information for streaming.

Constants

AgoraRtmpStreamingErrorCodeOK

The RTMP or RTMPS streaming publishes successfully.

Declared In AgoraEnumerates.h.

AgoraRtmpStreamingErrorCodeInvalidParameters

Invalid argument used. If, for example, you do not call the setLiveTranscoding method to configure the LiveTranscoding parameters before calling the addPublishStreamUrl method, the SDK returns this error. Check whether you set the parameters in the setLiveTranscoding method properly.

Declared In AgoraEnumerates.h.

AgoraRtmpStreamingErrorCodeEncryptedStreamNotAllowed

The RTMP or RTMPS streaming is encrypted and cannot be published.

Declared In AgoraEnumerates.h.

AgoraRtmpStreamingErrorCodeConnectionTimeout

Timeout for the RTMP or RTMPS streaming. Call the addPublishStreamUrl method to publish the streaming again.

Declared In AgoraEnumerates.h.

AgoraRtmpStreamingErrorCodeInternalServerError

An error occurs in Agora’s streaming server. Call the addPublishStreamUrl method to publish the streaming again.

Declared In AgoraEnumerates.h.

AgoraRtmpStreamingErrorCodeRtmpServerError

An error occurs in the CDN server.

Declared In AgoraEnumerates.h.

AgoraRtmpStreamingErrorCodeTooOften

The RTMP or RTMPS streaming publishes too frequently.

Declared In AgoraEnumerates.h.

AgoraRtmpStreamingErrorCodeReachLimit

The host publishes more than 10 URLs. Delete the unnecessary URLs before adding new ones.

Declared In AgoraEnumerates.h.

AgoraRtmpStreamingErrorCodeNotAuthorized

The host manipulates other hosts' URLs. Check your app logic.

Declared In AgoraEnumerates.h.

AgoraRtmpStreamingErrorCodeStreamNotFound

Agora’s server fails to find the RTMP or RTMPS streaming.

Declared In AgoraEnumerates.h.

AgoraRtmpStreamingErrorCodeFormatNotSupported

The format of the RTMP or RTMPS streaming URL is not supported. Check whether the URL format is correct.

Declared In AgoraEnumerates.h.

AgoraRtmpStreamingErrorCodeUnpublishOK

The streaming has been stopped normally. After you call removePublishStreamUrl to stop streaming, the SDK returns this value.

Available in v3.4.5

Declared In AgoraEnumerates.h.

Declared In

AgoraEnumerates.h