Skip to main content

get_presets

Function get_presets 

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

Fetch the camera’s PTZ presets, persist them (upsert + prune stale), and return the current set.