Setup:
This issue started in iOS 14 beta and still reproduces on the GM. Does anyone know if the new behaviour is expected? This can be "workarounded" by skipping to the end of seekableTimeRange but it works correctly on previous system versions so it looks like a regression.
iOS/tvOS app that uses AVPlayer to play encrypted live HLS streams,
live HLS playlist has a buffer of ~2 hours in which we can seek.
use AVPlayer to start playback of a live hls playlist,
use AVContentKeySessionDelegate API to provide license to the player to decrypt the stream.
playback starts from the “head” of the live playlist (near the end of seekableTimeRanges).
playback on iOS/tvOS 14 start at the beginning of available buffer (position == start of seekableTimeRanges),
this only happens for encrypted streams, for unencrypted ones, playback starts from the “head” of the live playlist.
This issue started in iOS 14 beta and still reproduces on the GM. Does anyone know if the new behaviour is expected? This can be "workarounded" by skipping to the end of seekableTimeRange but it works correctly on previous system versions so it looks like a regression.