Class Statistics

java.lang.Object
com.amazonaws.ivs.player.Statistics

public class Statistics extends Object
Contains various playback statistics for a player instance.
  • Constructor Details

    • Statistics

      public Statistics()
  • Method Details

    • getVideoBitRate

      public int getVideoBitRate()
      Returns:
      the current bitrate in bps of the video track
    • getFrameRate

      public int getFrameRate()
      Returns:
      the current frame rate of the video in frames per second, 0 if no video is displayed
    • getDroppedFrames

      public int getDroppedFrames()
      Returns:
      the total number of dropped video frames during the playback session
    • getDecodedFrames

      public int getDecodedFrames()
      Returns:
      the total number of decoded video frames during the playback session
    • getRenderedFrames

      public int getRenderedFrames()
      Returns:
      the total number of rendered (displayed) video frames during the playback session
    • toString

      public String toString()
      Overrides:
      toString in class Object