pub fn choose(
mode: &RenditionMode,
rungs: &[Rung],
constraints: &Constraints,
current: Option<&str>,
on_screen: Option<&str>,
sample: Option<&NetworkSample>,
bound: &mut Bound,
now: Instant,
) -> ChoiceExpand description
Picks the rendition to play, and why a pin could not be honoured.
rungs is the ladder, most expensive first, and constraints rules
renditions out. current is the rendition last asked for and on_screen
the one playing. sample is the link, if the transport measures one.
Without it the best allowed rendition plays.