RtmpStreamingErrorCode enum

The detailed error information for streaming.

Inheritance

Constructors

RtmpStreamingErrorCode()
const

Values

OK → const RtmpStreamingErrorCode

The RTMP or RTMPS streaming publishes successfully.

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.

EncryptedStreamNotAllowed → const RtmpStreamingErrorCode

The RTMP or RTMPS streaming is encrypted and cannot be published.

ConnectionTimeout → const RtmpStreamingErrorCode

Timeout for the RTMP or RTMPS streaming. Call the RtcEngine.addPublishStreamUrl method to publish the streaming again.

InternalServerError → const RtmpStreamingErrorCode

An error occurs in Agora’s streaming server. Call the RtcEngine.addPublishStreamUrl method to publish the streaming again.

RtmpServerError → const RtmpStreamingErrorCode

An error occurs in the RTMP server.

TooOften → const RtmpStreamingErrorCode

The RTMP or RTMPS streaming publishes too frequently.

ReachLimit → const RtmpStreamingErrorCode

The host publishes more than 10 URLs. Delete the unnecessary URLs before adding new ones.

NotAuthorized → const RtmpStreamingErrorCode

The host manipulates other hosts' URLs. Check your app logic.

StreamNotFound → const RtmpStreamingErrorCode

Agora’s server fails to find the RTMP or RTMPS streaming.

FormatNotSupported → const RtmpStreamingErrorCode

The format of the RTMP or RTMPS streaming URL is not supported. Check whether the URL format is correct.

UnPublishOK → const RtmpStreamingErrorCode

The streaming has been stopped normally. After you call removePublishStreamUrl to stop streaming, the SDK returns this value.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<RtmpStreamingErrorCode>
A constant List of the values in this enum, in order of their declaration.