RtmpStreamingErrorCode enum Null safety
The detailed error information for streaming.
Constants
- ConnectionTimeout → const RtmpStreamingErrorCode
-
Timeout for the RTMP or RTMPS streaming. Call the RtcEngine.addPublishStreamUrl method to publish the streaming again.
@JsonValue(3)const RtmpStreamingErrorCode(3)
- EncryptedStreamNotAllowed → const RtmpStreamingErrorCode
-
The RTMP or RTMPS streaming is encrypted and cannot be published.
@JsonValue(2)const RtmpStreamingErrorCode(2)
- FormatNotSupported → const RtmpStreamingErrorCode
-
The format of the RTMP or RTMPS streaming URL is not supported. Check whether the URL format is correct.
@JsonValue(10)const RtmpStreamingErrorCode(10)
- InternalServerError → const RtmpStreamingErrorCode
-
An error occurs in Agora’s streaming server. Call the RtcEngine.addPublishStreamUrl method to publish the streaming again.
@JsonValue(4)const RtmpStreamingErrorCode(4)
- InvalidParameters → const RtmpStreamingErrorCode
-
Invalid argument used. If, for example, you do not call the RtcEngine.setLiveTranscoding method to configure the LiveTranscoding parameters before calling the RtcEngine.addPublishStreamUrl method, the SDK returns this error. Check whether you set the parameters in the
setLiveTranscoding
method properly.@JsonValue(1)const RtmpStreamingErrorCode(1)
- NotAuthorized → const RtmpStreamingErrorCode
-
The host manipulates other hosts' URLs. Check your app logic.
@JsonValue(8)const RtmpStreamingErrorCode(8)
- OK → const RtmpStreamingErrorCode
-
The RTMP or RTMPS streaming publishes successfully.
@JsonValue(0)const RtmpStreamingErrorCode(0)
- ReachLimit → const RtmpStreamingErrorCode
-
The host publishes more than 10 URLs. Delete the unnecessary URLs before adding new ones.
@JsonValue(7)const RtmpStreamingErrorCode(7)
- RtmpServerError → const RtmpStreamingErrorCode
-
An error occurs in the RTMP server.
@JsonValue(5)const RtmpStreamingErrorCode(5)
- StreamNotFound → const RtmpStreamingErrorCode
-
Agora’s server fails to find the RTMP or RTMPS streaming.
@JsonValue(9)const RtmpStreamingErrorCode(9)
- TooOften → const RtmpStreamingErrorCode
-
The RTMP or RTMPS streaming publishes too frequently.
@JsonValue(6)const RtmpStreamingErrorCode(6)
- UnPublishOK → const RtmpStreamingErrorCode
-
The streaming has been stopped normally. After you call
removePublishStreamUrl
to stop streaming, the SDK returns this value.@JsonValue(100)const RtmpStreamingErrorCode(11)
-
values
→ const List<
RtmpStreamingErrorCode> -
A constant List of the values in this enum, in order of their declaration.
const List<
RtmpStreamingErrorCode>
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
A string representation of this object. [...]
override
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited