Package limelight.results
Class RewindStats
java.lang.Object
limelight.results.RewindStats
Rewind buffer stats object (supported hardware only).
-
Field Summary
FieldsModifier and TypeFieldDescriptiondoubleBuffer usage (0.0 to 1.0)int1 if rewind recording is enabled, 0 if pausedint1 if currently flushing to disk, 0 otherwiseintNumber of frames in bufferintRewind has a latency penalty of 500us-1ms.doubleSeconds of video in buffer -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
bufferUsage
public double bufferUsageBuffer usage (0.0 to 1.0) -
enabled
public int enabled1 if rewind recording is enabled, 0 if paused -
flushing
public int flushing1 if currently flushing to disk, 0 otherwise -
frameCount
public int frameCountNumber of frames in buffer -
latencyPenalty
public int latencyPenaltyRewind 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 storedSecondsSeconds of video in buffer
-
-
Constructor Details
-
RewindStats
public RewindStats()Creates a new RewindStats object.
-
-
Method Details
-
getLatencyPenalty
Get the latency penalty as aTimeobject.- Returns:
- Latency penalty as a
Timeobject.
-
getBufferTime
Get the bufferTime.- Returns:
Timeof 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.
-