5

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.

Nimisha Ranipa
  • 8,304
  • 2
  • 14
  • 29
  • check http://stackoverflow.com/questions/10648963/avplayer-buffering-pausing-notification-and-poster-frame – Ulysses Feb 22 '16 at 12:06

1 Answers1

2

Try with

[self.player.currentItem cancelPendingSeeks];
[self.player.currentItem.asset cancelLoading];
jose920405
  • 7,982
  • 6
  • 45
  • 71