2

I am having three URL for the videos, one with Low-Quality, Medium-Quality and High-Quality. Now, I want to determine the internet speed and depending on that I would like to show the video from appropriate URL and if in between, the internet speed found good then URL should be switched to high-quality one and continue playing from there. So, can anyone suggest how can I make it happen, I have searched for it but not be able to find any strong solution for it.

Bhavin Kansagara
  • 2,866
  • 1
  • 16
  • 20

1 Answers1

1

Your trying to build an adaptive streaming player, effectively. For Apple devices, streamed content can be served up in HLS format. Instead of building that capability, you should look for a player that can do that adaptive streaming and a server backend that can support adaptive streaming as well.

For instance, Microsoft Azure Media Services provides such functionality. They even provide a web-based player that you can embed in your app on a webview.

Luis Delgado
  • 3,644
  • 4
  • 34
  • 54