Constructor StatsResponse
- Namespace
- OBSStudioClient.Responses
- Assembly
- OBSClient.dll
StatsResponse(float, float, float, float, float, long, long, long, long, long, long)
Provides the response data of the GetStats request.
[JsonConstructor]
public StatsResponse(float cpuUsage, float memoryUsage, float availableDiskSpace, float activeFps, float averageFrameRenderTime, long renderSkippedFrames, long renderTotalFrames, long outputSkippedFrames, long outputTotalFrames, long webSocketSessionIncomingMessages, long webSocketSessionOutgoingMessages)
Parameters
cpuUsagefloatCurrent CPU usage in percent.
memoryUsagefloatAmount of memory in MB currently being used by OBS.
availableDiskSpacefloatAvailable disk space on the device being used for recording storage.
activeFpsfloatCurrent FPS being rendered.
averageFrameRenderTimefloatAverage time in milliseconds that OBS is taking to render a frame.
renderSkippedFrameslongNumber of frames skipped by OBS in the render thread.
renderTotalFrameslongTotal number of frames outputted by the render thread.
outputSkippedFrameslongNumber of frames skipped by OBS in the output thread.
outputTotalFrameslongTotal number of frames outputted by the output thread.
webSocketSessionIncomingMessageslongTotal number of messages received by obs-websocket from the client.
webSocketSessionOutgoingMessageslongTotal number of messages sent by obs-websocket to the client.
Remarks
Initializes a new instance of the StatsResponse class.