Expand description
Managed OBS outputs and validated output composition.
§Which level should I use?
Prefer ObsOutputPipelineBuilder when creating a complete encoded output: it validates the
selected output flags, codecs, protocol/service, audio mixer indices, and runtime affinity before
native creation.
Use ObsOutputComposition / ObsOutputTrait when an application intentionally needs to
inspect or replace encoder/service attachments on an existing output. Attachment storage and
lifecycle serialization are implementation details; public callers work through behavior only.
Pair this module with crate::capabilities to choose concrete implementations from the OBS
plugins available at runtime. For conventional recording or RTMP streaming, libobs-simple
provides a shorter opinionated path.
Structs§
- Bitrate
Sample - ObsOutput
Composition - Desired encoder/service wiring for an OBS output.
- ObsOutput
Pipeline - A fully validated and wired output ready for lifecycle operations.
- ObsOutput
Pipeline Builder - Builder for one validated OBS output graph.
- ObsOutput
Ref - A reference to an OBS output.
- ObsOutput
Signals - ObsReplay
Buffer Output Ref - A reference to an OBS output.
- ObsReplay
Output Signals - Output
Bitrate Sampler - Stateful byte-counter sampler. Reuse one sampler for one output lifecycle.
- Output
Status Snapshot - Point-in-time output health. Dropped frames are network-congestion drops, not rendering or encoding lag.
Enums§
- Bitrate
Sample State - Output
Metric - A native metric whose support may be optional for an output plugin.
Constants§
- DEFAULT_
OUTPUT_ OPERATION_ TIMEOUT - Default deadline used by blocking lifecycle operations.
- DEFAULT_
REPLAY_ SAVE_ TIMEOUT - Default maximum time
ObsReplayBufferOutputRef::save_bufferwaits for native completion.
Traits§
- ObsOutput
Statistics Ext - Additive statistics API for any managed OBS output.
- ObsOutput
Trait