Skip to main content

spawn_video

Function spawn_video 

Source
pub fn spawn_video(url: String, codec: Codec, tx: Sender<VideoAu>) -> Result<()>
Expand description

Start the video input matching the URL scheme; frames flow to tx. Reconnects forever with backoff — a robot whose camera reboots keeps its agent alive.