DirectCdnStreamingReason enum

Reasons for the changes in CDN streaming status.

Inheritance
Annotations
  • @JsonEnum(alwaysCreate: true)

Constructors

DirectCdnStreamingReason()
const

Values

directCdnStreamingReasonOk → const DirectCdnStreamingReason

0: No error.

directCdnStreamingReasonFailed → const DirectCdnStreamingReason

1: A general error; no specific reason. You can try to push the media stream again.

directCdnStreamingReasonAudioPublication → const DirectCdnStreamingReason

2: An error occurs when pushing audio streams. For example, the local audio capture device is not working properly, is occupied by another process, or does not get the permission required.

directCdnStreamingReasonVideoPublication → const DirectCdnStreamingReason

3: An error occurs when pushing video streams. For example, the local video capture device is not working properly, is occupied by another process, or does not get the permission required.

directCdnStreamingReasonNetConnect → const DirectCdnStreamingReason

4: Fails to connect to the CDN.

directCdnStreamingReasonBadName → const DirectCdnStreamingReason

5: The URL is already being used. Use a new URL for streaming.

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<DirectCdnStreamingReason>
A constant List of the values in this enum, in order of their declaration.