StreamSubscriber

Type Alias StreamSubscriber 

Source
pub type StreamSubscriber = Sender<(Vec<u8>, MediaSegReceiver)>;
Expand description

A channel for adding a subscriber to the stream.

The main capture and encoding thread will receive these and respond with a tuple of a MediaSegReceiver and the H264 headers for the stream.

Aliased Typeยง

pub struct StreamSubscriber { /* private fields */ }