Table of Contents

Method SetRecordDirectory

Namespace
OBSStudioClient
Assembly
OBSClient.dll

SetRecordDirectory(string, CancellationToken)

Sets the current directory that the record output writes files to.

public Task SetRecordDirectory(string recordDirectory, CancellationToken cancellationToken = default)

Parameters

recordDirectory string

Output directory.

cancellationToken CancellationToken

A 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

Remarks

Introduced in obs-websocket 5.3.0.