AgoraRtmpStreamingErrorCode Constants Reference
Declared in | AgoraEnumerates.h |
---|
AgoraRtmpStreamingErrorCode
The detailed error information for streaming.
Definition
typedef NS_ENUM(NSUInteger, AgoraRtmpStreamingErrorCode ) {
AgoraRtmpStreamingErrorCodeOK = 0,
AgoraRtmpStreamingErrorCodeInvalidParameters = 1,
AgoraRtmpStreamingErrorCodeEncryptedStreamNotAllowed = 2,
AgoraRtmpStreamingErrorCodeConnectionTimeout = 3,
AgoraRtmpStreamingErrorCodeInternalServerError = 4,
AgoraRtmpStreamingErrorCodeRtmpServerError = 5,
AgoraRtmpStreamingErrorCodeTooOften = 6,
AgoraRtmpStreamingErrorCodeReachLimit = 7,
AgoraRtmpStreamingErrorCodeNotAuthorized = 8,
AgoraRtmpStreamingErrorCodeStreamNotFound = 9,
AgoraRtmpStreamingErrorCodeFormatNotSupported = 10,
};
Constants
AgoraRtmpStreamingErrorCodeOK
-
The RTMP 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 streaming is encrypted and cannot be published.
Declared In
AgoraEnumerates.h
. AgoraRtmpStreamingErrorCodeConnectionTimeout
-
Timeout for the RTMP 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 RTMP server.
Declared In
AgoraEnumerates.h
. AgoraRtmpStreamingErrorCodeTooOften
-
The RTMP 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 streaming.
Declared In
AgoraEnumerates.h
. AgoraRtmpStreamingErrorCodeFormatNotSupported
-
The format of the RTMP streaming URL is not supported. Check whether the URL format is correct.
Declared In
AgoraEnumerates.h
.
Declared In
AgoraEnumerates.h