Class RewindStats

java.lang.Object
limelight.results.RewindStats

public class RewindStats extends Object
Rewind buffer stats object (supported hardware only).
  • Field Details

    • bufferUsage

      public double bufferUsage
      Buffer usage (0.0 to 1.0)
    • enabled

      public int enabled
      1 if rewind recording is enabled, 0 if paused
    • flushing

      public int flushing
      1 if currently flushing to disk, 0 otherwise
    • frameCount

      public int frameCount
      Number of frames in buffer
    • latencyPenalty

      public int latencyPenalty
      Rewind has a latency penalty of 500us-1ms. This latency penalty is listed in the results json rewind object as "latpen" in integer microseconds
    • storedSeconds

      public double storedSeconds
      Seconds of video in buffer
  • Constructor Details

    • RewindStats

      public RewindStats()
      Creates a new RewindStats object.
  • Method Details

    • getLatencyPenalty

      public Time getLatencyPenalty()
      Get the latency penalty as a Time object.
      Returns:
      Latency penalty as a Time object.
    • getBufferTime

      public Time getBufferTime()
      Get the buffer Time.
      Returns:
      Time of the buffer storage.
    • getEnabled

      public boolean getEnabled()
      Get the enable status of the rewind buffer.
      Returns:
      True if enabled, false otherwise.
    • isFlushing

      public boolean isFlushing()
      Is the buffer currently flushing to disk?
      Returns:
      Buffer flushing status.
    • getFrameCount

      public int getFrameCount()
      Get the number of frames in the buffer.
      Returns:
      Frame count.