Method CreateRecordChapter
- Namespace
- OBSStudioClient
- Assembly
- OBSClient.dll
CreateRecordChapter(string?, CancellationToken)
Adds a new chapter marker to the file currently being recorded.
public Task CreateRecordChapter(string? chapterName = null, CancellationToken cancellationToken = default)
Parameters
chapterNamestringName of the new chapter.
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
Note: As of OBS 30.2.0, the only file format supporting this feature is Hybrid MP4.
Introduced in obs-websocket 5.5.0.