Table of Contents

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

cpuUsage float

Current CPU usage in percent.

memoryUsage float

Amount of memory in MB currently being used by OBS.

availableDiskSpace float

Available disk space on the device being used for recording storage.

activeFps float

Current FPS being rendered.

averageFrameRenderTime float

Average time in milliseconds that OBS is taking to render a frame.

renderSkippedFrames long

Number of frames skipped by OBS in the render thread.

renderTotalFrames long

Total number of frames outputted by the render thread.

outputSkippedFrames long

Number of frames skipped by OBS in the output thread.

outputTotalFrames long

Total number of frames outputted by the output thread.

webSocketSessionIncomingMessages long

Total number of messages received by obs-websocket from the client.

webSocketSessionOutgoingMessages long

Total number of messages sent by obs-websocket to the client.

Remarks

Initializes a new instance of the StatsResponse class.