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.
19 lines
553 B
Rust
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};
|