Event FileChanged
- Namespace
- OBSStudioClient.Model
- Assembly
- OBSClient.dll
Occurs when the recording continues in a new file: OBS Studio has split the recording (because of its settings, or SplitFileAsync(CancellationToken)) and has begun to write another file. The event carries the path of the new file, which is CurrentFile from then on.
public event EventHandler<RecordFileChangedEventArgs>? FileChanged
Returns
- EventHandler<RecordFileChangedEventArgs>
- Occurs when the recording continues in a new file: OBS Studio has split the recording (because of its settings, or ) and has begun to write another file. The event carries the path of the new file, which is from then on.
Remarks
It is raised in the order in which the events of OBS Studio arrived, one at a time, on NotificationContext (or a thread of the thread pool). The same
event is available as Model.Client.RecordFileChanged, which the client raises from a dispatcher of its own.