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
    • setBitRate

      public void setBitRate(int bitRate)
    • setDecodedFrames

      public void setDecodedFrames(int decodedFrames)
    • setDroppedFrames

      public void setDroppedFrames(int droppedFrames)
    • setFrameRate

      public void setFrameRate(int frameRate)
    • setRenderedFrames

      public void setRenderedFrames(int renderedFrames)
    • toString

      public String toString()
      Overrides:
      toString in class Object