Class OBSStats
- java.lang.Object
-
- nl.harm27.obswebsocket.api.complex.OBSStats
-
public class OBSStats extends Object
- See Also:
- OBS WebSocket Documentation
-
-
Constructor Summary
Constructors Constructor Description OBSStats()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doublegetAverageFrameTime()Average frame render time (in milliseconds).doublegetCpuUsage()Current CPU usage (percentage).doublegetFps()Current framerate.doublegetFreeDiskSpace()Free recording disk space (in megabytes).doublegetMemoryUsage()Current RAM usage (in megabytes).intgetOutputSkippedFrames()Number of frames skipped due to encoding lag.intgetOutputTotalFrames()Number of frames outputted.intgetRenderMissedFrames()Number of frames missed due to rendering lag.intgetRenderTotalFrames()Number of frames rendered.
-
-
-
Method Detail
-
getFps
public double getFps()
Current framerate.
-
getRenderTotalFrames
public int getRenderTotalFrames()
Number of frames rendered.
-
getRenderMissedFrames
public int getRenderMissedFrames()
Number of frames missed due to rendering lag.
-
getOutputTotalFrames
public int getOutputTotalFrames()
Number of frames outputted.
-
getOutputSkippedFrames
public int getOutputSkippedFrames()
Number of frames skipped due to encoding lag.
-
getAverageFrameTime
public double getAverageFrameTime()
Average frame render time (in milliseconds).
-
getCpuUsage
public double getCpuUsage()
Current CPU usage (percentage).
-
getMemoryUsage
public double getMemoryUsage()
Current RAM usage (in megabytes).
-
getFreeDiskSpace
public double getFreeDiskSpace()
Free recording disk space (in megabytes).
-
-