Table of Contents

Method GetDeinterlaceFieldOrderAsync

Namespace
OBSStudioClient.Model
Assembly
OBSClient.dll

GetDeinterlaceFieldOrderAsync(CancellationToken)

Asks OBS Studio which field of an interlaced frame of the input comes first.

public Task<ObsDeinterlaceFieldOrder> GetDeinterlaceFieldOrderAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A token that ends the wait. A request that was not sent yet is not sent.

Returns

Task<ObsDeinterlaceFieldOrder>

The field order.

Remarks

See GetDeinterlaceModeAsync(CancellationToken) for what to know about the deinterlacing.

Exceptions

ObsRemovedException

The input was destroyed.

ObsNotConnectedException

There is no connection to OBS Studio.

ObsNotReadyException

OBS Studio is changing its scene collection, or did so after the call.

TimeoutException

OBS Studio did not answer in time (WriteTimeout).

ObsResponseException

OBS Studio refused the request: the input is not an async input (ErrorCode is InvalidResourceState), or its obs-websocket is older than 5.6.0.