Adaptive streaming modules should honor preferred-resolution setting
Example stream: https://www.youtube.com/watch?v=Ec7VUcdB-ww
This is a live youtube stream opened by the adaptive demux. When I set preferred-resolution to the minimum and play it, it first opens in low resolution then switches to 1080p.
preferred-resolution is a generic setting that is currently only used by lua playlist scripts, but aims to be honored in all relevant situations. The resolutions that this adaptive stream switches to should be bound by the preferred-resolution value.
In cases like the above youtube stream, users expect the resolution setting to work like for any other youtube video, and are surprised that it doesn't. It clearly appears as a bug in that context, and users have reported it as such, see report in #21738 (closed). Users can't be expected to detect and understand the implementation details of live youtube streams and that it should require adjusting a different resolution setting from the usual; and that would be poor UX anyway.
Please triage and duplicate if necessary to all currently relevant adaptive streaming modules.