moq-video 0.0.4

Native video capture/encoding/decoding for Media over QUIC
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Encode captured video and publish it as a moq H.264 track.
//!
//! Entry points, high to low level:
//! - [`publish_capture`] captures and publishes a webcam (turnkey).
//! - [`Encoder`] H.264-encodes raw RGBA frames you supply, and [`Producer`]
//!   publishes the resulting packets (bring your own frames).
//! - [`Producer`] alone publishes H.264 you already encoded.
//!
//! [`Options`] / [`Kind`] / [`Config`] configure them. The decode/consume
//! counterpart (mirror of `moq-audio`'s consumer) will land in a sibling
//! `decode` module.

mod encoder;
mod producer;

pub use encoder::{Config, Encoder, Kind};
pub use producer::{Options, Producer, publish_capture};