Class Quality

java.lang.Object
com.amazonaws.ivs.player.Quality

public final class Quality extends Object
Represents a quality which is a selection of video/audio tracks from the loaded media.
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • getName

      @NonNull public String getName()
      Returns:
      name of the quality, suitable for use in a user interface
    • getCodecs

      @NonNull public String getCodecs()
      Returns:
      codec string representing the media codec information, e.g. "avc1.64002A,mp4a.40.2"
    • getBitrate

      public int getBitrate()
      Returns:
      bitrate of the media in bps
    • getWidth

      public int getWidth()
      Returns:
      video width or zero if unknown or not applicable
    • getHeight

      public int getHeight()
      Returns:
      video height or zero if unknown or not applicable
    • getFramerate

      public float getFramerate()
      Returns:
      frame rate of this stream if known 0 otherwise