Property LastSavedPath
- Namespace
- OBSStudioClient.Model
- Assembly
- OBSClient.dll
LastSavedPath
Gets the path of the file that OBS Studio announced when it last saved the replay buffer, or null when the model has not seen it save one.
public string? LastSavedPath { get; }
Property Value
Remarks
The model knows the replays that were saved while it was connected: OBS Studio says where it wrote the file in an event. It is kept when the connection is lost (like everything that the model holds, it is the last that was known). GetLastReplayFileAsync(CancellationToken) asks OBS Studio for the newest replay, which it knows for as long as the replay buffer runs, also when it was saved before the model connected. When the path changes, Changed and PropertyChanged tell, the property before the Saved event. OBS Studio writes the path with forward slashes on every platform; the model hands it on as it is.