RtmpStreamingErrorCode enum
The detailed error information for streaming.
Values
- OK → const RtmpStreamingErrorCode
-
The RTMP 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 streaming is encrypted and cannot be published.
- ConnectionTimeout → const RtmpStreamingErrorCode
-
Timeout for the RTMP streaming. Call the RtcEngine.addPublishStreamUrl method to publish the streaming again.
- InternalServerError → const RtmpStreamingErrorCode
-
An error occurs in Meta’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 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
-
Meta’s server fails to find the RTMP streaming.
- FormatNotSupported → const RtmpStreamingErrorCode
-
The format of the RTMP streaming URL is not supported. Check whether the URL format is correct.
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.