Reputation: 8324
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.
Upvotes: 5
Views: 1949
Reputation: 8049
Try with
[self.player.currentItem cancelPendingSeeks];
[self.player.currentItem.asset cancelLoading];
Upvotes: 2