new RenderingStatistics()
Methods
-
getFrameDrops()
-
Gets the number of dropped video frames since the start of playback.
Returns:
the number of dropped video frames since the start of playback, or 0 if it has not been defined. -
getFrameDropsPerSecond()
-
Gets the number of video frames dropped each second.
Returns:
the number of video frames dropped each second, or 0 if it has not been defined. -
getFramesPerSecond()
-
Gets the frame rate of the current content as measured during playback.
Returns:
The frame rate, or 0 if it has not been defined. -
getFramesPerSecondNominal()
-
Gets the frame rate of the current content as announced in the stream.
Returns:
The frame rate found in the metadata of the stream, or 0 if not present in the stream defined or if no content has been loaded.