Skip to main content

PLAYBACK_QUALITY_OVERRIDE

Static PLAYBACK_QUALITY_OVERRIDE 

Source
static PLAYBACK_QUALITY_OVERRIDE: RwLock<Option<StreamingQuality>>
Expand description

The ceiling in force for the playback happening right now, when the viewer has moved this one item off the device default.

This exists because a single global cannot express “this 4K remux needs a ceiling, that podcast does not”. The in-player picker is a “this film, this connection” control — its own doc has said so since it was written — but it was implemented by writing the device default, so choosing 2 Mbps to get one awkward film moving silently capped every video played afterwards, for the rest of the process, with the Settings screen still displaying the old value.

Cleared when a new item starts playing, so the override cannot outlive the playback it was chosen for. The device default is never touched by it.

TRACES: UR-074, UR-079 | DR-226