For live content, if the user pauses playback and their current playhead falls out of the valid DVR window, AVPlayer will stop reporting seekableTimeRanges - why does this happen? Is there a workaround?
For example:
- Suppose we were streaming content with a 5 minute DVR window
- User pauses playback for 6 minutes
- Their current position is now outside of the valid seekable time range
- AVPlayer stops reporting seekableTimeRanges all together
This is problematic for two reasons:
- We have observed the AVPlayer generally becomes unresponsive when this happens. i.e. Any seek action will cause the player to freeze up
- Without knowing the seekable range, we dont know how to return the user to the live edge when they resume playback
Seems to be the same issue described in these threads: https://developer.apple.com/forums/thread/45850