mac-screen-cast 0.3.0

Stream macOS screen to browser over LAN. Zero-copy ScreenCaptureKit, hardware H.264 encoding via VideoToolbox, ~10ms pipeline latency, ~3% CPU.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! mac-screen-cast — internal library crate for benchmark access.
//!
//! The primary entrypoint is `src/main.rs` (binary).
//! This library module exists only to expose key functions for
//! `cargo bench` integration tests. No external API guarantees.

// Most types/functions are only used by the binary crate (main.rs).
// For the lib crate (bench harness), suppress dead-code warnings.
#![allow(dead_code)]

mod h264;
mod webrtc;

pub use h264::avcc_nal_units;
pub use webrtc::packetize_nal;