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
recordDirectorystringOutput directory.
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
Remarks
Introduced in obs-websocket 5.3.0.