Class UnavailableQuality

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

public class UnavailableQuality extends Object
Describes a media rendition that is unavailable for playback The quality was either removed by the server or by the client. Unavailable qualities cannot be used as a normal Quality object, and do not map to a source rendition.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    If populated, describes the authorization failures which resulted in the server removing this quality from the available quality list.
    int
    Gets the bitrate of the media expressed as bits per second.
    Gets the codec string representing the media codec information, e.g.
    If populated, describes the technical reasons which resulted in the server or client removing this quality from the available quality list.
    float
    Gets the framerate of the quality expressed as frames per second.
    Gets the HLS group ID of the quality object.
    int
    Gets the height of the unavailable quality in pixels.
    Gets the name of the quality.
    int
    Gets the width of the unavailable quality in pixels.
    int
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • getName

      @NonNull public String getName()
      Gets the name of the quality.
      Returns:
      name of the quality
    • getCodecs

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

      public int getWidth()
      Gets the width of the unavailable quality in pixels.
      Returns:
      width in pixels
    • getHeight

      public int getHeight()
      Gets the height of the unavailable quality in pixels.
      Returns:
      height in pixels
    • getGroup

      @NonNull public String getGroup()
      Gets the HLS group ID of the quality object.
      Returns:
      group ID
    • getBitrate

      public int getBitrate()
      Gets the bitrate of the media expressed as bits per second.
      Returns:
      bitrate in bps
    • getFramerate

      public float getFramerate()
      Gets the framerate of the quality expressed as frames per second.
      Returns:
      framerate or 0 if unknown
    • getFilterReasons

      @NonNull public List<String> getFilterReasons()
      If populated, describes the technical reasons which resulted in the server or client removing this quality from the available quality list.
      Returns:
      list of filter reasons
    • getAuthReasons

      @NonNull public List<String> getAuthReasons()
      If populated, describes the authorization failures which resulted in the server removing this quality from the available quality list.
      Returns:
      list of authorization reasons
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object