Class ObsOutputs
- Namespace
- OBSStudioClient.Model
- Assembly
- OBSClient.dll
The outputs of OBS Studio: the stream, the recording, the virtual camera and the replay buffer.
public sealed class ObsOutputs : IReadOnlyList<ObsOutput>, IReadOnlyCollection<ObsOutput>, IEnumerable<ObsOutput>, IEnumerable
- Inheritance
-
ObsOutputs
- Implements
- Inherited Members
Remarks
The outputs are made with the ObsModel and stay the same objects for as long as it lives: an output does not belong to a scene collection, and a connection that is lost and restored changes what they show, not which objects they are. Before the model has read them they are Stopped.
OBS Studio can have other outputs, which plugins add: GetAllAsync(CancellationToken) lists them, and Named(string) gives one to start, stop and ask about. This collection is the four that the model keeps current.
Properties
- Count
Gets the number of outputs: four.
- this[ObsOutputKind]
Gets an output by its kind.
- this[int]
Gets an output by its position: the stream, the recording, the virtual camera and the replay buffer, in that order.
- Record
Gets the recording, which can be paused.
- ReplayBuffer
Gets the replay buffer, which can be saved.
- Stream
Gets the stream to the streaming service, which can send captions.
- VirtualCamera
Gets the virtual camera.
Methods
- GetAllAsync(CancellationToken)
Asks OBS Studio for every output that it has: its own, and those that plugins add.
- GetEnumerator()
Returns an enumerator that iterates through the collection.
- Named(string)
Gives an output of OBS Studio by its name, to start, stop and ask about: one that a plugin added, or one of the four by the name that OBS Studio gave it.