Files
clipbin-desktop/crates/clipbin-obs/src/lib.rs
T
harry 795118c200
Rust checks / windows-cross-check (push) Successful in 41s
Rust checks / linux (push) Failing after 5m37s
feat: record at the source's size, only once capture works
Encoders and the segment output are created when the capture source first
has a picture, at its own size (portrait monitors record portrait) unless a
resolution is configured, so nothing is written while waiting for a source.
SPEC.md records both decisions; validation docs cover how sessions should end
when the game closes.
2026-10-08 15:34:42 +02:00

19 lines
553 B
Rust

//! Clipbin's recording engine on top of the pinned libobs runtime.
//!
//! Capture uses only official OBS sources: Game Capture and Window Capture on
//! Windows, Xcomposite on X11, and PipeWire through the desktop portal on
//! Wayland. See SPEC.md.
pub mod capture;
pub mod encoders;
mod ffi;
mod recorder;
pub mod runtime;
mod thread;
pub use recorder::{
Engine, EngineError, Health, PipeWireState, RecorderEvent, Recording, RecordingConfig,
SEGMENT_EXTENSION, StatusTracker, StopReason,
};
pub use runtime::{RuntimeError, RuntimeLayout};