Class AudioCodec

  • Direct Known Subclasses:
    OpusCodec, PcmuCodec

    public abstract class AudioCodec
    extends java.lang.Object
    Abstract base class for audio codecs.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected AudioCodec​(java.lang.String name)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getName()
      Returns the string representation of the audio codec.
      java.lang.String toString()
      Returns the name of the audio codec.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • AudioCodec

        protected AudioCodec​(@NonNull
                             java.lang.String name)
    • Method Detail

      • getName

        @NonNull
        public java.lang.String getName()
        Returns the string representation of the audio codec.
      • toString

        @NonNull
        public java.lang.String toString()
        Returns the name of the audio codec.
        Overrides:
        toString in class java.lang.Object