Another question - when playing a stream with HLS....
# stream
s
Another question - when playing a stream with HLS.js we almost always get the lowest stream rate, and if we watch on the HLS demo player (https://hlsjs.video-dev.org/demo/) we see it start at high rates, then within a few seconds go down to the lowest rate, usually with a buffer stall, too. This seems to be due to the first segments coming from CF slowly, fooling the player into thinking it's low bandwidth, even though in reality it supports 720p or 1080p with no problem, and works we'll if we add ?clientBandwidthHint=5 but that's not a good solution, as then it can't downgrade if it needs to. On the same connection, the demo HLS player works great with non-CF sources, always defaulting to 1080p so it's presumably a CF-related challenge we can't figure out. If you want to test, this stream is always active: https://customer-cmg27odg5g4vsjjl.cloudflarestream.com/95ab77947934930dd5a0f7885a586a7d/manifest/video.m3u8