I am using AVPlayer for play Video in my app.
In my app, I have added functionality for play next/previous video so how can i set empty buffer.
so, if any one have solution for this help me.
Try with
[self.player.currentItem cancelPendingSeeks];
[self.player.currentItem.asset cancelLoading];
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With