Prasanna Sundar
Prasanna Sundar

Reputation: 1660

Mixing Higher or Lower resolution TS on HLS for better QoS

I want to implement a system where Segments will be dynamically populated on M3U8 playlist for HLS, based on user's connection speed. The thing is, if I add Segments with various resolutions, it results in lots of Frame drops and sometimes it Freezes or Crashes the application which streams the M3U8 playlist (In my case, Exoplayer). Is there any way by which I can achieve seamless streaming with minimal frame drops and high QoS?

Upvotes: 0

Views: 525

Answers (1)

Simon
Simon

Reputation: 1274

What you are describing sounds very much like adaptive streaming, which HLS supports.

Encode your video at whatever bit rates you want to support and create a playlist for each variant. Then add the location of each playlist created in the previous step to a master playlist. The player will automatically switch between streams based on factors such as the available bandwidth.

Upvotes: 1

Related Questions