Expand description
Audio and video playback settings commands.
TRACES: UR-022, UR-027, UR-031, UR-032, UR-033, UR-074 | DR-025, DR-030, DR-034, DR-035, DR-036, DR-162, IR-020
Constantsยง
- STREAMING_
QUALITY_ ๐KEY app_settingskey holding the persisted streaming bandwidth ceiling.
Functionsยง
- persist_
streaming_ ๐quality - Write the ceiling to
app_settings. Failure is logged, not returned: the setting has already been applied in memory, and refusing the whole call because the write failed would leave the UI showing a cap that is active. - player_
get_ audio_ settings - player_
get_ eq_ presets - The built-in equalizer presets and their per-band gain curves (dB), for the settings UI. The curve numbers are domain data defined by the band layout, so the frontend reads them here rather than encoding them.
- player_
get_ streaming_ qualities - The bandwidth ceilings the quality picker may offer, each with the label and one-line detail to show for it, highest first.
- player_
get_ video_ settings - player_
set_ audio_ settings - player_
set_ video_ settings - restore_
streaming_ quality - Restore the persisted bandwidth ceiling at startup, into both the repository
(which enforces it) and
VideoSettings(which the settings UI reads).