Enum Class Track.Codec

java.lang.Object
java.lang.Enum<Track.Codec>
tel.schich.libdatachannel.Track.Codec
All Implemented Interfaces:
Serializable, Comparable<Track.Codec>, Constable
Enclosing class:
Track

public static enum Track.Codec extends Enum<Track.Codec>
  • Enum Constant Details

    • RTC_CODEC_H264

      public static final Track.Codec RTC_CODEC_H264
    • RTC_CODEC_VP8

      public static final Track.Codec RTC_CODEC_VP8
    • RTC_CODEC_VP9

      public static final Track.Codec RTC_CODEC_VP9
    • RTC_CODEC_H265

      public static final Track.Codec RTC_CODEC_H265
    • RTC_CODEC_AV1

      public static final Track.Codec RTC_CODEC_AV1
    • RTC_CODEC_OPUS

      public static final Track.Codec RTC_CODEC_OPUS
    • RTC_CODEC_PCMU

      public static final Track.Codec RTC_CODEC_PCMU
    • RTC_CODEC_PCMA

      public static final Track.Codec RTC_CODEC_PCMA
    • RTC_CODEC_AAC

      public static final Track.Codec RTC_CODEC_AAC
  • Field Details

  • Method Details

    • values

      public static Track.Codec[] 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 Track.Codec 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