Skip to main content

libobs_simple\sources/
mod.rs

1//!
2//! A library for creating OBS sources without having to figure out what properties are used by sources.
3//!
4//! This crate provides convenient builders for OBS sources across different platforms:
5//! - **Windows**: Window capture, monitor capture, game capture
6//! - **Linux**: X11 screen capture, XComposite window capture, V4L2 camera, ALSA/PulseAudio/JACK audio, PipeWire
7//!
8//! You can find examples [here](https://github.com/libobs-rs/libobs-rs/tree/main/examples).
9
10#[cfg(any(windows, doc))]
11#[cfg_attr(doc, doc(cfg(windows)))]
12pub mod windows;
13
14#[cfg(any(target_os = "linux", doc))]
15#[cfg_attr(doc, doc(cfg(target_os = "linux")))]
16pub mod linux;
17
18mod either;
19mod macro_helper;
20
21pub use either::*;
22pub use libobs_wrapper::{data::ObsObjectUpdater, sources::ObsSourceBuilder};