Skip to main content

Crate libobs_simple

Crate libobs_simple 

Source
Expand description

Opinionated convenience workflows on top of libobs-wrapper.

§Start here for common applications

libobs-simple is the layer that chooses sensible OBS implementations for you while the underlying libobs-wrapper remains available for full control. Both layers use the same wrapper::context::ObsContext.

GoalStart with
Record to a fileoutput::simple
Stream H.264/AAC to RTMPoutput::streaming
Replay bufferoutput::replay
Scene collection persistence/historyscene_collection
Common window/monitor/platform sourcessources
Anything more customwrapper

Recording and streaming builders discover the loaded OBS capabilities rather than assuming a particular NVENC/QSV/AMF/x264 backend. The simple layer delegates native lifetimes, dynamic settings validation, and output graph validation to wrapper.

Drop down to wrapper::capabilities and wrapper::settings for arbitrary plugins, or wrapper::scenes for groups/native ordering/full transform state. You do not need to create a second context to mix the two layers.

Re-exports§

pub use error::ObsSimpleError;
pub use libobs_wrapper as wrapper;

Modules§

error
output
Common outputs with opinionated defaults.
scene_collection
Versioned application-level scene collection persistence.
sources
A library for creating OBS sources without having to figure out what properties are used by sources.

Macros§

define_object_manager
Generates builder and updater structs for OBS objects.