RtmpStreamPublishReason enum

Reasons for changes in the status of RTMP or RTMPS streaming.

Inheritance
Available extensions
Annotations
  • @JsonEnum(alwaysCreate: true)

Values

rtmpStreamPublishReasonOk → const RtmpStreamPublishReason

0: The RTMP or RTMPS streaming has not started or has ended.

rtmpStreamPublishReasonInvalidArgument → const RtmpStreamPublishReason

1: Invalid argument used. Check the parameter setting.

rtmpStreamPublishReasonEncryptedStreamNotAllowed → const RtmpStreamPublishReason

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

rtmpStreamPublishReasonConnectionTimeout → const RtmpStreamPublishReason

3: Timeout for the RTMP or RTMPS streaming.

rtmpStreamPublishReasonInternalServerError → const RtmpStreamPublishReason

4: An error occurs in Agora's streaming server.

rtmpStreamPublishReasonRtmpServerError → const RtmpStreamPublishReason

5: An error occurs in the CDN server.

rtmpStreamPublishReasonTooOften → const RtmpStreamPublishReason

6: The RTMP or RTMPS streaming publishes too frequently.

rtmpStreamPublishReasonReachLimit → const RtmpStreamPublishReason

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

rtmpStreamPublishReasonNotAuthorized → const RtmpStreamPublishReason

8: The host manipulates other hosts' URLs. For example, the host updates or stops other hosts' streams. Check your app logic.

rtmpStreamPublishReasonStreamNotFound → const RtmpStreamPublishReason

9: Agora's server fails to find the RTMP or RTMPS streaming.

rtmpStreamPublishReasonFormatNotSupported → const RtmpStreamPublishReason

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

rtmpStreamPublishReasonNotBroadcaster → const RtmpStreamPublishReason

11: The user role is not host, so the user cannot use the CDN live streaming function. Check your application code logic.

rtmpStreamPublishReasonTranscodingNoMixStream → const RtmpStreamPublishReason

13: The updateRtmpTranscoding method is called to update the transcoding configuration in a scenario where there is streaming without transcoding. Check your application code logic.

rtmpStreamPublishReasonNetDown → const RtmpStreamPublishReason

14: Errors occurred in the host's network.

rtmpStreamPublishReasonInvalidPrivilege → const RtmpStreamPublishReason

16: Your project does not have permission to use streaming services.

rtmpStreamUnpublishReasonOk → const RtmpStreamPublishReason

100: The streaming has been stopped normally. After you stop the Media Push, 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<RtmpStreamPublishReason>
A constant List of the values in this enum, in order of their declaration.