AgoraRtmpStreamingErrorCode
推流错误信息。
枚举值
- AgoraRtmpStreamingErrorCodeOK
- 0:推流成功。
- AgoraRtmpStreamingErrorCodeInvalidParameters
- 1:参数无效。请检查输入参数是否正确。
- AgoraRtmpStreamingErrorCodeEncryptedStreamNotAllowed
- 2:推流已加密,不能推流。
- AgoraRtmpStreamingErrorCodeConnectionTimeout
- 3:推流超时未成功。
- AgoraRtmpStreamingErrorCodeInternalServerError
- 4:推流服务器出现错误。
- AgoraRtmpStreamingErrorCodeRtmpServerError
- 5:CDN 服务器出现错误。
- AgoraRtmpStreamingErrorCodeTooOften
- 6:推流请求过于频繁。
- AgoraRtmpStreamingErrorCodeReachLimit
- 7:单个主播的推流地址数目达到上限 10。请删掉一些不用的推流地址再增加推流地址。
- AgoraRtmpStreamingErrorCodeNotAuthorized
- 8:主播操作不属于自己的流。例如更新其他主播的流参数、停止其他主播的流。请检查 App 逻辑。
- AgoraRtmpStreamingErrorCodeStreamNotFound
- 9:服务器未找到这个流。
- AgoraRtmpStreamingErrorCodeFormatNotSupported
- 10:推流地址格式有错误。请检查推流地址格式是否正确。
- AgoraRtmpStreamingErrorNotBroadcaster
- 11:用户角色不是主播,该用户无法使用推流功能。请检查你的应用代码逻辑。
- AgoraRtmpStreamingErrorTranscodingNoMixStream
- 13:非转码推流情况下,调用了 updateRtmpTranscoding 方法更新转码属性。请检查你的应用代码逻辑。
- AgoraRtmpStreamingErrorNetDown
- 14:主播的网络出错。
- AgoraRtmpStreamingErrorInvalidPrivilege
- 16:你的项目没有使用推流服务的权限。请参考旁路推流中的前提条件开启推流服务。
- AgoraRtmpStreamingErrorCodeUnpublishOK
- 100:推流已正常结束。当你结束推流后,SDK 会返回该值。