Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

389 B
Raw Blame
#[cfg(target_os = "macos")]
mod screencapturekit;
#[cfg(target_os = "macos")]
pub use screencapturekit::*;

#[cfg(windows)]
mod direct3d;
#[cfg(windows)]
pub use direct3d::*;

#[cfg(target_os = "linux")]
#[derive(Debug)]
pub enum AsFFmpegError {
    Unsupported,
}

mod cpal;
pub use cpal::*;

pub trait AsFFmpeg {
    fn as_ffmpeg(&self) -> Result<ffmpeg::frame::Video, AsFFmpegError>;
}