Skip to main content

## restore_streaming_quality

# Function restore_streaming_quality

Source

    pub async fn restore_streaming_quality(app: &AppHandle)

Expand description

Restore the persisted bandwidth ceiling at startup, into both the repository (which enforces it) and `VideoSettings` (which the settings UI reads).

Called from the Tauri `setup` hook. A missing or unreadable row leaves the default — uncapped — in place, so a database problem degrades to the old behaviour rather than to an arbitrary limit.

TRACES: UR-074 | DR-162