IObsApi
Interface
Members
9
GetCurrentSceneAsync
method
The current OBS program scene, or null when unknown / disconnected.Task<string> GetCurrentSceneAsync(CancellationToken cancellationToken = default)IsStreamingAsync
method
True when OBS streaming output is active; false otherwise (or when disconnected).Task<bool> IsStreamingAsync(CancellationToken cancellationToken = default)SetSceneAsync
method
Switches the OBS program scene. A blank name no-ops.Task SetSceneAsync(string sceneName, CancellationToken cancellationToken = default)SetSourceVisibilityAsync
method
Shows or hides a source within a scene.Task SetSourceVisibilityAsync(string sceneName, string sourceName, bool visible, CancellationToken cancellationToken = default)SetTextAsync
method
Sets the text of a text input source.Task SetTextAsync(string sourceName, string text, CancellationToken cancellationToken = default)StartRecordAsync
method
Starts the recording output.Task StartRecordAsync(CancellationToken cancellationToken = default)StartStreamAsync
method
Starts the streaming output.Task StartStreamAsync(CancellationToken cancellationToken = default)StopRecordAsync
method
Stops the recording output.Task StopRecordAsync(CancellationToken cancellationToken = default)StopStreamAsync
method
Stops the streaming output.Task StopStreamAsync(CancellationToken cancellationToken = default)
