Package com.amazonaws.ivs.player
Class Quality
java.lang.Object
com.amazonaws.ivs.player.Quality
Represents a quality which is a selection of video/audio tracks from the loaded media.
-
Method Summary
-
Method Details
-
toString
-
equals
-
hashCode
public int hashCode() -
getName
- Returns:
- name of the quality, suitable for use in a user interface
-
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
-