I am using AVPlayer to play videos in my application.
In my application, I have a function to play the next / previous video, since I can set an empty buffer.
so if anyone has a solution for this, help me.
Try
[self.player.currentItem cancelPendingSeeks]; [self.player.currentItem.asset cancelLoading];
Source: https://habr.com/ru/post/1243573/More articles:Debugging a dynamically loaded library using gdb - c ++How to make a conditional greedy match in Perl? - regexWebStorm, PHPStorm, Jetbrains IDE - Ignore JS and MAP files in Typescript project - phpstormSelecting the height of several elements (); - javascriptHow to upload multiple images using ajax in php - javascriptdjango error checking engine template? - pythonAsynchronous recursive using promises - javascriptJava Assert Double - NaN - javathrows an exception kills a thread in node js? - node.jsMYSQL Update all foreign key values - sqlAll Articles