RtmpStreamingErrorCode enum
The detailed error information for streaming.
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 theRtcEngine.addPublishStreamUrl
method, the SDK returns this error. Check whether you set the parameters in thesetLiveTranscoding
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
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.