AVPlayer pause live stream on iOS 9.3

Hi everyone!


Im having difficulties trying to resume live stream playback from previously paused moment.


On iOS 9.2 and below player continued to play from paused moment.

On iOS 9.3 and above, when i resume playing, i receive "playerBufferEmpty" and AVPlayerItemTimeJumpedNotification, and as a result playback doesnt continue from the paused moment.


This looks like an issue in AVPlayer since everything works on iOS versions 9.2 and below. I also tried playerItem.canUseNetworkResourcesForLiveStreamingWhilePaused , but it doesnt help.


Are there any changes in AVPlayer/AVPlayerItem regarding this from iOS 9.2 to iOS 9.3?


Thanks!

We have encountered the same issue, but not yet found a work around.


In our app it only occurs when playback is within 900s of live, so perhaps related to the buffer on the device.

If playback is at a location further back in the stream pause/play works as it should.


I am not aware of any changes to the buffer implementation at an API level between 9.2 and 9.3.

The header files do not indicate anything to be aware of.

I have the same issue, but I don't get any time jumped notification. Did you find a workaround?

Hello guys,


Did you find any solution about it?


Thanks,


Dario

Nope, logged a bug. Engineering acknowledged it was a bug and would look into it. A little later got it marked as a duplicate of another bug I cannot follow and was closed. No further contact from engineering or bug support at all. It was fixed in 10.0 so basically they don't care to fix the 9.3 only problem.

I had asked to be kept informed for work arounds, but silence.


cheers

jays

I managed to find your bug.


There is currently no good way (that I know of) to arrange for originators of duplicate bugs to get notified when the core bug get closed. I'll work out how to phrase that as a bug and put it into the system. You are welcome to try to generate your own bug about that. (Yes , I see the irony.)


Once we go to a new major release we (almost) never go back to update the previous major release. Even Apple has finite resources. We have to cut off the old branch at some point.


We never came up with a workaround for that bug. I'm not sure if there is one. The bug was pretty low level.

It's iOS 15, and this is still not fixed it seems!?

AVPlayer pause live stream on iOS 9.3
 
 
Q