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 double
getAverageFrameTime()
Average frame render time (in milliseconds).double
getCpuUsage()
Current CPU usage (percentage).double
getFps()
Current framerate.double
getFreeDiskSpace()
Free recording disk space (in megabytes).double
getMemoryUsage()
Current RAM usage (in megabytes).int
getOutputSkippedFrames()
Number of frames skipped due to encoding lag.int
getOutputTotalFrames()
Number of frames outputted.int
getRenderMissedFrames()
Number of frames missed due to rendering lag.int
getRenderTotalFrames()
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).
-
-