mediaway-device 0.1.3

Device capture: camera, microphone, screen/window, audio playback + hotplug, with Windows/Linux/Web backends as #[cfg]-gated modules
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Camera video capture facade.
//!
//! - **Low-level:** [`CameraCapture`] — OS capture sessions in the platform modules
//!   (`windows_camera`, `linux`).

#![forbid(unsafe_code)]

mod capture;

pub use crate::CaptureError;
pub use capture::{
    CameraCapture, CameraCaptureConfig, CaptureOutputPreference, capture_camera_once,
};

#[cfg(test)]
#[path = "capture_tests.rs"]
mod tests;