Enum ObsOutputStatus
- Namespace
- OBSStudioClient.Model
- Assembly
- OBSClient.dll
What an output of OBS Studio is doing.
public enum ObsOutputStatus
Fields
Stopped = 0The output is not running.
Starting = 1OBS Studio is starting the output. A stream is connecting to the streaming service; it can take seconds, and it can end in Stopped when the service cannot be reached.
Started = 2The output is running. A stream that reconnected (
OBS_WEBSOCKET_OUTPUT_RECONNECTED) and a recording that was resumed (OBS_WEBSOCKET_OUTPUT_RESUMED) are Started again too: the change from Reconnecting or Paused to Started is a come-back, not a start.Stopping = 3OBS Studio is stopping the output.
Reconnecting = 4The stream lost its connection to the streaming service, and OBS Studio tries to restore it. Only the stream has this status.
Paused = 5The recording is paused. Only the recording has this status.
Remarks
OBS Studio announces the steps of an output with events. A read of the output can only say whether it is running (and, for the stream, whether it is reconnecting, and for the recording, whether it is paused): it cannot tell an output that is starting or stopping from one that is stopped or running, so those two steps are only known from the events.