Package io.agora.rtc2
Enum Class DirectCdnStreamingReason
- All Implemented Interfaces:
Serializable,Comparable<DirectCdnStreamingReason>,Constable
Deprecated.
v4.6.0.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDeprecated.2: An error occurs when pushing audio streams.Deprecated.5: The URL is already being used.Deprecated.1: A general error; no specific reason.Deprecated.4: Fails to connect to the CDN.Deprecated.0: No error.Deprecated.3: An error occurs when pushing video streams. -
Method Summary
Modifier and TypeMethodDescriptionstatic DirectCdnStreamingReasonfromInt(int v) Deprecated.intgetValue()Deprecated.static DirectCdnStreamingReasonDeprecated.Returns the enum constant of this class with the specified name.static DirectCdnStreamingReason[]values()Deprecated.Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
OK
Deprecated.0: No error. -
FAILED
Deprecated.1: A general error; no specific reason. You can try to push the media stream again. -
AUDIO_PUBLICATION
Deprecated.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. -
VIDEO_PUBLICATION
Deprecated.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. -
NET_CONNECT
Deprecated.4: Fails to connect to the CDN. -
BAD_NAME
Deprecated.5: The URL is already being used. Use a new URL for streaming.
-
-
Method Details
-
values
Deprecated.Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Deprecated.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
public int getValue()Deprecated. -
fromInt
Deprecated.
-