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
Modifier and TypeMethodDescriptionbooleanintReturns bitrate of the media in bps.Returns codec string representing the media codec information, e.g.floatReturns frame rate of this stream if known 0 otherwise.intReturns video height or zero if unknown or not applicable.getName()Returns name of the quality, suitable for use in a user interfaceReturns the IDs of the output groups this quality belongs to (e.g.Returns how the variant was produced.intgetWidth()Returns video width or zero if unknown or not applicable.inthashCode()toString()
-
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" -
getOutputGroups
Returns the IDs of the output groups this quality belongs to (e.g. ['portrait', 'landscape']).Beta: This API may change in future releases.
- Returns:
- unmodifiable set of output group IDs
-
getVariantProcessingMode
Returns how the variant was produced.Beta: This API may change in future releases.
- Returns:
- the processing mode, or null when the source does not report one (e.g. file playback)
-
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.
-