If HLS Segment is less than or equal to 2 Sec

0

As per HLS specs,segment duration must be 6 sec.But to achieve low latency we usually keep 2sec as segment duration specially in live tv stream.

Playback is fine.But as per documentation what other additional issues we can face if we reduce the segment size to 2 sec or less than that

adam_02
질문됨 2년 전1803회 조회
1개 답변
0

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.

Dev_K
답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠