mediaway-device 0.1.2

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 — split out of `mediaway-device`'s former unified video
//! capture surface. See `mediaway-device/adr/0007-domain-crate-split.md`.
//!
//! - **Low-level:** [`CameraCapture`] — OS capture sessions in `mediaway-device-<platform>`.

#![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;