media-pp 0.2.0

A small, GStreamer-flavored media pipeline library built on FFmpeg. Capture, composite and encode without leaving the GPU, on D3D11 and CUDA.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Background tasks that are not part of a dataflow graph.
//!
//! A [`Driver`](crate::driver::Driver) has no pads of its own; it runs a loop
//! and mints ordinary `Sink`/`Source` endpoints on the side for pipelines to
//! wire. `WebRtcPeer` is the one built-in: it owns the peer connection while
//! `WebRtcTrackSink` and `WebRtcTrackSource` carry media in and out of
//! whichever pipelines those tracks belong to.

#[cfg(feature = "webrtc")]
mod webrtc;

#[cfg(feature = "webrtc")]
pub use webrtc::{
    AttachedTrack, TrackEndpoints, TrackId, WebRtcError, WebRtcHandle, WebRtcPeer,
    WebRtcStreamInfo, WebRtcTrackSink, WebRtcTrackSource,
};