public final class

Quality

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

Class Overview

Represents a quality which is a selection of video/audio tracks from the loaded media.

Summary

Public Methods
boolean equals(Object o)
int getBitrate()
String getCodecs()
float getFramerate()
int getHeight()
String getName()
int getWidth()
int hashCode()
String toString()
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public boolean equals (Object o)

public int getBitrate ()

Returns
  • bitrate of the media in bps

public String getCodecs ()

Returns
  • codec string representing the media codec information, e.g. "avc1.64002A,mp4a.40.2"

public float getFramerate ()

Returns
  • frame rate of this stream if known 0 otherwise

public int getHeight ()

Returns
  • video height or zero if unknown or not applicable

public String getName ()

Returns
  • name of the quality, suitable for use in a user interface

public int getWidth ()

Returns
  • video width or zero if unknown or not applicable

public int hashCode ()

public String toString ()