Skip to main content

snapshot_live

Function snapshot_live 

Source
pub async fn snapshot_live(
    state: &AppState,
    camera_id: &str,
) -> AppResult<Vec<u8>>
Expand description

Grab one frame live from the camera stream (sub-stream preferred).