In my app I need to play multiple videos one after another. Currently, I am streaming the videos using AVPlayer
but its seems very laggy, the videos freeze quite often. I'm wondering if downloading the files with NSFileHandle
will provide a better user experience with less lagging. BUT, Im worried about memory issues.
Does anyone have any recommendations in which way is more efficient? Or, for example, how snapchat plays such a large number of videos so smoothly. Thanks.