Skip to main content

libobsbot_core/
lib.rs

1// SPDX-License-Identifier: GPL-3.0-only
2//! Rust implementation of the OBSBOT camera SDK.
3//!
4//! See `README.md` and `CONTRIBUTING.md` at the repository root. v0.0.0 is a
5//! skeleton - the public API is unstable and most methods return
6//! [`Error::Unsupported`] until the protocol capture work begins.
7
8pub mod device;
9pub mod devices;
10pub mod discovery;
11pub mod error;
12pub mod status;
13pub mod transport;
14pub mod types;
15pub(crate) mod uvc;
16
17#[cfg(test)]
18mod testing;
19
20pub use device::Device;
21pub use discovery::{DeviceInfo, Devices};
22pub use error::{Error, Result};
23pub use status::{Event, EventReceiver};
24pub use types::{
25    AeMode, AiMode, AntiFlicker, AutoFramingMode, Cadence, FirmwareVersion, FovType, MediaBgColor,
26    MediaBgMode, MediaMode, ProductType, Status, WdrMode, WhiteBalanceMode,
27};