iOS HLS(Http Live Streaming)从低带宽开始。

iOS HLS (Http Live Streaming) start from lower bandwidth.

如何选择 low/medium 带宽以从变体播放列表开始 HLS 流式传输(使用 AVFoundation)。我假设它会根据 reachability/connection 和客户端动态带宽自动切换到更高分辨率。但是,您如何确保流式传输以 low/medium 比特率开始?顺便说一句,我注意到 Coursera 的(iOS 应用程序)视频播放器做同样的事情。

它始终从变体播放列表中的第一个条目开始:

The first entry in the variant playlist will be played at the initiation of a stream and is used as part of a test to determine which stream is most appropriate. The order of the other streams is irrelevant.

Therefore, the first bit rate in the playlist should be the one that most clients can sustain.

来源:Apple Technical Note TN2224