You probably have an extended MP4 video file that’s optimized for community use with quick begin (utilizing .shouldOptimizeForNetworkUse
to maneuver the moov atom to the entrance), and also you play it with AVPlayer
, the video can begin taking part in with out downloading your entire video.
My query is, does AVPlayer
nonetheless go forward and obtain your entire video as you might be taking part in it? Or will it intelligently solely obtain the part you might be taking part in?
Suppose you will have a ten minute video and the person performs solely the primary 10 seconds after which pauses the video with AVPlayer.pause()
. Does AVPlayer
proceed to obtain your entire 10 minute video because the participant is paused? Or does it halt downloading extra till the video play is resumed?
I attempted monitoring AVPlayer.bufferProgress
to see what was occurring and whereas it does appear to be the bufferProgress pauses once you pause the video, I’m not positive if that is deceptive info. Is there a approach to actively see how a lot of the video has truly been downloaded within the background?