Enum Class OriginType

java.lang.Object
java.lang.Enum<OriginType>
io.github.lunasaw.zlm.hook.param.OriginType
All Implemented Interfaces:
Serializable, Comparable<OriginType>, java.lang.constant.Constable

public enum OriginType extends Enum<OriginType>
  • Enum Constant Details

    • UNKNOWN

      public static final OriginType UNKNOWN
    • RTMP_PUSH

      public static final OriginType RTMP_PUSH
    • RTSP_PUSH

      public static final OriginType RTSP_PUSH
    • RTP_PUSH

      public static final OriginType RTP_PUSH
    • PULL

      public static final OriginType PULL
    • FFMPEG_PULL

      public static final OriginType FFMPEG_PULL
    • MP4_VOD

      public static final OriginType MP4_VOD
    • DEVICE_CHN

      public static final OriginType DEVICE_CHN
    • RTC_PUSH

      public static final OriginType RTC_PUSH
  • Method Details

    • values

      public static OriginType[] values()
      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 OriginType valueOf(String name)
      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
    • getType

      public String getType()