stream

Function stream 

Source
pub async fn stream(
    config: &Config,
    stream_sub_tx: Sender<StreamSubscriber>,
) -> Result<impl Stream<Item = Result<Vec<u8>>>>
Expand description

Creates a new video stream.

ยงErrors

This function may return an Error::Other if all receivers on stream_sub_tx have ben dropped.