Interface VideoQuality
-
- All Implemented Interfaces:
-
com.theoplayer.android.api.event.EventDispatcher
,com.theoplayer.android.api.player.track.mediatrack.quality.Quality
public interface VideoQuality implements Quality
Represents a quality of a video track.
-
-
Method Summary
Modifier and Type Method Description abstract int
getHeight()
The video height of this quality as defined in the manifest. abstract int
getWidth()
The video width of this quality as defined by the manifest. abstract double
getFrameRate()
The frame rate of this quality, as defined by the manifest or parsed from the media segment. abstract double
getFirstFrame()
The presentation time of the first video frame, as parsed from the first video segment. -
Methods inherited from class com.theoplayer.android.api.player.track.mediatrack.quality.Quality
getBandwidth, getCodecs, getId, getName, getUid
-
Methods inherited from class com.theoplayer.android.api.event.EventDispatcher
addEventListener, removeEventListener
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getHeight
abstract int getHeight()
The video height of this quality as defined in the manifest.
- Returns:
The video height of this quality, in pixels.
-
getWidth
abstract int getWidth()
The video width of this quality as defined by the manifest.
- Returns:
The video width of this quality, in pixels.
-
getFrameRate
abstract double getFrameRate()
The frame rate of this quality, as defined by the manifest or parsed from the media segment.
- Returns:
The frame rate, in frames per second.
-
getFirstFrame
abstract double getFirstFrame()
The presentation time of the first video frame, as parsed from the first video segment.
- Returns:
The presentation time, in seconds.
-
-
-
-