Table of Contents

Method AddSetVideoSettingsRequest

Namespace
OBSStudioClient.Messages
Assembly
OBSClient.dll

AddSetVideoSettingsRequest(float?, float?, int?, int?, int?, int?)

Adds a SetVideoSettings request to the batch.

public void AddSetVideoSettingsRequest(float? fpsNumerator = null, float? fpsDenominator = null, int? baseWidth = null, int? baseHeight = null, int? outputWidth = null, int? outputHeight = null)

Parameters

fpsNumerator float?

Numerator of the fractional FPS value. Restrictions: >= 1. If omitted: Not changed.

fpsDenominator float?

Denominator of the fractional FPS value. Restrictions: >= 1. If omitted: Not changed.

baseWidth int?

Width of the base (canvas) resolution in pixels. Restrictions: >= 1, <= 4096. If omitted: Not changed.

baseHeight int?

Height of the base (canvas) resolution in pixels. Restrictions: >= 1, <= 4096. If omitted: Not changed.

outputWidth int?

Width of the output resolution in pixels. Restrictions: >= 1, <= 4096. If omitted: Not changed.

outputHeight int?

Height of the output resolution in pixels. Restrictions: >= 1, <= 4096. If omitted: Not changed.

Remarks

Sets the current video settings.

Note: Fields must be specified in pairs. For example, you cannot set only baseWidth without needing to specify baseHeight.