RtmpStreamPublishReason enum
The reason for RTMP stream publishing state change.
Values
- rtmpStreamPublishReasonOk → const RtmpStreamPublishReason
-
0: Stream published successfully.
- rtmpStreamPublishReasonInvalidArgument → const RtmpStreamPublishReason
-
1: Invalid parameter. Please check whether the input parameters are correct.
- rtmpStreamPublishReasonEncryptedStreamNotAllowed → const RtmpStreamPublishReason
-
2: The stream is encrypted and cannot be published.
- rtmpStreamPublishReasonConnectionTimeout → const RtmpStreamPublishReason
-
3: Publishing timed out and failed.
- rtmpStreamPublishReasonInternalServerError → const RtmpStreamPublishReason
-
4: An error occurred on the streaming server.
- rtmpStreamPublishReasonRtmpServerError → const RtmpStreamPublishReason
-
5: An error occurred on the CDN server.
- rtmpStreamPublishReasonTooOften → const RtmpStreamPublishReason
-
6: Streaming requests are too frequent.
- rtmpStreamPublishReasonReachLimit → const RtmpStreamPublishReason
-
7: The number of streaming URLs for a single broadcaster has reached the limit of 10. Please remove some unused URLs before adding new ones.
- rtmpStreamPublishReasonNotAuthorized → const RtmpStreamPublishReason
-
8: The broadcaster is operating on a stream that does not belong to them. For example, updating or stopping another broadcaster's stream. Please check your app logic.
- rtmpStreamPublishReasonStreamNotFound → const RtmpStreamPublishReason
-
9: The server could not find the stream.
- rtmpStreamPublishReasonFormatNotSupported → const RtmpStreamPublishReason
-
10: The streaming URL format is incorrect. Please check whether the format is valid.
- rtmpStreamPublishReasonNotBroadcaster → const RtmpStreamPublishReason
-
11: The user role is not broadcaster, and the user cannot use the streaming feature. Please check your application logic.
- rtmpStreamPublishReasonTranscodingNoMixStream → const RtmpStreamPublishReason
-
13: The updateRtmpTranscoding method was called to update transcoding properties when not using transcoding streaming. Please check your application logic.
- rtmpStreamPublishReasonNetDown → const RtmpStreamPublishReason
-
14: The broadcaster's network encountered an error.
- rtmpStreamPublishReasonInvalidAppid → const RtmpStreamPublishReason
-
@nodoc
- rtmpStreamPublishReasonInvalidPrivilege → const RtmpStreamPublishReason
-
16: Your project does not have permission to use the streaming service.
- rtmpStreamUnpublishReasonOk → const RtmpStreamPublishReason
-
100: Streaming has ended normally. After you 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
- 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<
RtmpStreamPublishReason> - A constant List of the values in this enum, in order of their declaration.