Skip to main content

stream_url

Function stream_url 

Source
pub fn stream_url(cam: &Camera, stream: &str) -> Option<String>
Expand description

Build the RTSP URL (with credentials) for the given stream (“main” | “sub”). Honors an explicit per-stream URL override; otherwise builds from the vendor template.