RtmpStreamingErrorCode enum
The detailed error information for streaming.
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
setLiveTranscodingmethod 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.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - 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.