Reputation: 327
I have multiple URL for different video quality (240p, 360p, 720p, 1080p) and i'm using AVPlayer to stream. What i wanna achieve is
Selecting initial URL to start video depending on internet connection speed (I don't have concern with wifi, 2G or 3G; only concern is that connection speed is able to stream or not) Switching URL/Stream while playing if internet connection speed is updated. Video should not pause while auto switching URL/Stream How can i achieve this?
Upvotes: 1
Views: 1726
Reputation: 4481
It sounds like you're duplicating the effort of HTTP Live Streaming. Can you just adopt that?
https://developer.apple.com/streaming/
Upvotes: 3