forge
Explore
Log in

Don't you dare go Hollow

yumush

Clone
★ 0

0 watching0 forksRustAGPL-3.07.2 MiB4b67e80Tahinli54 minutes ago400 commits

mod.rs37 lines, 940 bytesHistoryRawDownload
1pub mod audio;
2#[cfg(target_os = "linux")]
3pub mod audio_capture;
4#[cfg(target_os = "windows")]
5#[path = "audio_capture_windows.rs"]
6pub mod audio_capture;
7#[cfg(any(target_os = "linux", target_os = "windows"))]
8pub mod camera;
9#[cfg(target_os = "linux")]
10pub mod capture;
11#[cfg(target_os = "windows")]
12#[path = "capture_windows.rs"]
13pub mod capture;
14pub mod congestion;
15
16#[derive(Clone, Copy, PartialEq, Eq, Hash, Debug)]
17pub enum Target {
18 Screen(usize),
19 Window(usize),
20}
21
22pub struct Source {
23 pub target: Target,
24 pub name: String,
25 pub preview: Option<image::RgbaImage>,
26}
27pub mod encode;
28#[cfg(any(target_os = "linux", target_os = "windows"))]
29pub mod fake;
30pub mod frame;
31pub mod pacer;
32pub mod reassembly;
33pub mod session;
34#[cfg(not(any(target_os = "linux", target_os = "windows")))]
35mod unsupported;
36#[cfg(not(any(target_os = "linux", target_os = "windows")))]
37pub use unsupported::{audio_capture, camera, capture};