Method GetVideoSettings
- Namespace
- OBSStudioClient
- Assembly
- OBSClient.dll
GetVideoSettings(CancellationToken)
Gets the current video settings.
public Task<VideoSettingsResponse> GetVideoSettings(CancellationToken cancellationToken = default)
Parameters
cancellationTokenCancellationTokenA token that ends the wait for the response, which makes the method throw an OperationCanceledException. A request that was already sent is not undone: OBS Studio may still carry it out.
Returns
- Task<VideoSettingsResponse>
A VideoSettingsResponse with the response data.
Remarks
Note: To get the true FPS value, divide the FPS numerator by the FPS denominator. Example: 60000/1001.