AgoraRtmpStreamingErrorCode 常量
| Declared in | AgoraEnumerates.h |
|---|
AgoraRtmpStreamingErrorCode
推流错误信息
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-
推流成功
Declared In
AgoraEnumerates.h. AgoraRtmpStreamingErrorCodeInvalidParameters-
参数无效。请检查输入参数是否正确。例如如果你在调用 addPublishStreamUrl 前没有调用 setLiveTranscoding 设置转码参数,SDK 会返回该错误。
Declared In
AgoraEnumerates.h. AgoraRtmpStreamingErrorCodeEncryptedStreamNotAllowed-
推流已加密,不能推流。
Declared In
AgoraEnumerates.h. AgoraRtmpStreamingErrorCodeConnectionTimeout-
推流超时未成功。可调用 addPublishStreamUrl 重新推流。
Declared In
AgoraEnumerates.h. AgoraRtmpStreamingErrorCodeInternalServerError-
推流服务器出现错误。请调用 addPublishStreamUrl 重新推流。
Declared In
AgoraEnumerates.h. AgoraRtmpStreamingErrorCodeRtmpServerError-
RTMP 服务器出现错误。
Declared In
AgoraEnumerates.h. AgoraRtmpStreamingErrorCodeTooOften-
推流请求过于频繁。
Declared In
AgoraEnumerates.h. AgoraRtmpStreamingErrorCodeReachLimit-
单个主播的推流地址数目达到上线 10。请删掉一些不用的推流地址再增加推流地址。
Declared In
AgoraEnumerates.h. AgoraRtmpStreamingErrorCodeNotAuthorized-
主播操作不属于自己的流。例如更新其他主播的流参数、停止其他主播的流。请检查 App 逻辑。
Declared In
AgoraEnumerates.h. AgoraRtmpStreamingErrorCodeStreamNotFound-
服务器未找到这个流。
Declared In
AgoraEnumerates.h. AgoraRtmpStreamingErrorCodeFormatNotSupported-
推流地址格式有错误。请检查推流地址格式是否正确。
Declared In
AgoraEnumerates.h.
Declared In
AgoraEnumerates.h
