How to save streaming video data from MPMoviePlayerController

My application supports both online and offline. It also plays video (from the server) using MPMoviePlayerController.

Since my application supports offline mode, I would like to save the video content during its playback so that I can play it locally when the user is connected to the network.

I searched a lot, but I can not find a suitable answer. If anyone knows, can you please tell me which is the right approach to do this?

Here I do not want to use two separate streams for downloading and streaming video, I am waiting for an answer that will save the streaming data to disk or cache.

+4
source share

Source: https://habr.com/ru/post/1541242/


All Articles