Reputation: 1660
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
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