Skip to main content

STREAMING_QUALITY

Static STREAMING_QUALITY 

Source
static STREAMING_QUALITY: RwLock<StreamingQuality>
Expand description

The viewer’s durable bandwidth ceiling — the device default.

Process-wide rather than a field on OnlineRepository because it is a user preference about this device’s connection, not about a server session: it must survive a repository being rebuilt on re-login, and every URL builder and the PlaybackInfo negotiation have to agree on it or the cap leaks (the negotiation would authorise a direct play the URL builder then never gets to constrain). Same shape as offline::INCLUDE_CATALOG_BROWSE.

Set from player_set_video_settings (Settings), and restored from the database at startup. Not set by the in-player picker — see PLAYBACK_QUALITY_OVERRIDE.

TRACES: UR-074 | DR-162