1) Streaming video on the player from the server. Each time playing video in the application increases the memory of the application. Therefore, if I watch a video for 10 times, the video size increases 10 times in the application memory. I use AVPlayer for this.
2) Stop Streaming - Let's say I start watching a video and stop it after a few seconds. I noticed that all the videos load even after the video stops. I canceled the download of AVAsset, cleared AVPlayer and AVPlayerItem. However, it flows in the background.
Manoj source share