Package io.agora.rtc2

Enum Class DirectCdnStreamingReason

java.lang.Object
java.lang.Enum<DirectCdnStreamingReason>
io.agora.rtc2.DirectCdnStreamingReason
All Implemented Interfaces:
Serializable, Comparable<DirectCdnStreamingReason>, Constable

@Deprecated public enum DirectCdnStreamingReason extends Enum<DirectCdnStreamingReason>
Deprecated.
v4.6.0.
  • Enum Constant Details

    • OK

      public static final DirectCdnStreamingReason OK
      Deprecated.
      0: No error.
    • FAILED

      public static final DirectCdnStreamingReason FAILED
      Deprecated.
      1: A general error; no specific reason. You can try to push the media stream again.
    • AUDIO_PUBLICATION

      public static final DirectCdnStreamingReason 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

      public static final DirectCdnStreamingReason 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

      public static final DirectCdnStreamingReason NET_CONNECT
      Deprecated.
      4: Fails to connect to the CDN.
    • BAD_NAME

      public static final DirectCdnStreamingReason BAD_NAME
      Deprecated.
      5: The URL is already being used. Use a new URL for streaming.
  • Method Details

    • values

      public static DirectCdnStreamingReason[] 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

      public static DirectCdnStreamingReason valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getValue

      public int getValue()
      Deprecated.
    • fromInt

      public static DirectCdnStreamingReason fromInt(int v)
      Deprecated.