9

I'm using AVPlayer to play streaming video. When Wifi drops and later enables, I see that AVPlayer cannot resume, no matter how many times I call AVPlayer play, and its currentItem 's duration is NaN, seekableTimeRanges is empty.

This is not the case for iOS 7, it resumes and plays well. The workaround I can think of is to restart the player.

How to deal with this?

onmyway133
  • 45,645
  • 31
  • 257
  • 263

0 Answers0