- 最新
- 最多得票
- 最多評論
There are pros and cons for a lower segment duration in HLS.
Smaller segments (e.g. 2 seconds) enables reduced tune-in time when watching live tv stream with faster download of the required buffered segments before playback begins. It also helps you reduce latency (delay from live) vs longer segments with same buffered segment requirements.
On the flip side, you will increase the number of requests to the origin and the CDN by 3 times if you move from 6s to 2s segments. The cost may be insignificant but still additional cost over use of a larger segment. You will also need good network conditions where the network congestion and drop will not impact the shortened buffered content due to lower segments size.
The decision should be based on what user experience you want for your customers and intersect that with network conditions, additional requests, and player capabilities.
相關內容
- AWS 官方已更新 4 年前
- AWS 官方已更新 2 年前