详细的推流错误信息。
Constants
-
ConnectionTimeout → const RtmpStreamingErrorCode
推流超时未成功。可调用
addPublishStreamUrl
重新推流。 详见 RtcEngine.addPublishStreamUrl。@JsonValue(3)const RtmpStreamingErrorCode(3)
-
EncryptedStreamNotAllowed → const RtmpStreamingErrorCode
推流已加密不能推流。@JsonValue(2)
const RtmpStreamingErrorCode(2)
-
FormatNotSupported → const RtmpStreamingErrorCode
推流地址格式有错误。请检查推流地址格式是否正确。@JsonValue(10)
const RtmpStreamingErrorCode(10)
-
InternalServerError → const RtmpStreamingErrorCode
推流服务器出现错误。请调用
addPublishStreamUrl
重新推流。 详见 RtcEngine.addPublishStreamUrl。@JsonValue(4)const RtmpStreamingErrorCode(4)
-
InvalidParameters → const RtmpStreamingErrorCode
参数无效。比如说如果你在调用
addPublishStreamUrl
前没有调用setLiveTranscoding
设置转码参数,SDK 会返回该错误。 请检查输入参数是否正确。 详见 RtcEngine.setLiveTranscoding 和 RtcEngine.addPublishStreamUrl。@JsonValue(1)const RtmpStreamingErrorCode(1)
-
NotAuthorized → const RtmpStreamingErrorCode
主播操作不主播自己的流,如更新其他主播的流参数、停止其他主播的流。请检查 app 逻辑。@JsonValue(8)
const RtmpStreamingErrorCode(8)
-
OK → const RtmpStreamingErrorCode
推流成功。@JsonValue(0)
const RtmpStreamingErrorCode(0)
-
ReachLimit → const RtmpStreamingErrorCode
单个主播的推流地址数目达到上限 10。请删掉一些不用的推流地址再增加推流地址。@JsonValue(7)
const RtmpStreamingErrorCode(7)
-
RtmpServerError → const RtmpStreamingErrorCode
RTMP 服务器出现错误。@JsonValue(5)
const RtmpStreamingErrorCode(5)
-
StreamNotFound → const RtmpStreamingErrorCode
服务器未找到这个流。@JsonValue(9)
const RtmpStreamingErrorCode(9)
-
TooOften → const RtmpStreamingErrorCode
推流请求过于频繁。@JsonValue(6)
const RtmpStreamingErrorCode(6)
-
values → const List<RtmpStreamingErrorCode>
A constant List of the values in this enum, in order of their declaration.
const List<RtmpStreamingErrorCode>
Properties
-
The hash code for this object. [...]read-only, inherited
-
index → int
The integer index of this enum.final
-
A representation of the runtime type of the object.read-only, inherited
Methods
-
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]inherited
-
Returns a string representation of this object.override
Operators
-
operator ==(Object other) → bool
The equality operator. [...]inherited