SRGSSR / srgletterbox-apple

The official SRG SSR media playback experience
https://srgssr.github.io/marketing/letterbox/
MIT License
14 stars 7 forks source link

Incorrect state when disconnecting Airplay while the player is seeking #2

Closed defagos closed 6 years ago

defagos commented 7 years ago

If Airplay is disconnected when the player is seeking, playback does not correctly resume on the device.

Issue overview

Description of the problem

If Airplay is disconnected when the player is seeking, playback does not correctly resume on the device. The video is not visible and the loading indicator spins endlessly. Seeking to an arbitrary location fixes the issue, though.

This issue should be fixed once https://github.com/SRGSSR/SRGMediaPlayer-iOS/issues/8 is has been closed.

Environment information

Reproducibility

Steps to reproduce

  1. Open the Letterbox demo
  2. Use the basic player to play a media
  3. Enable Airplay
  4. Seek and disconnect Airplay before seeking ends
  5. The player is now in an inconsistent state
defagos commented 6 years ago

Still an issue with Letterbox 1.11 (tested with iOS 12), but since this is an edge case for which we received no complaints the issue won't be fixed for the moment.