pillarbox-apple icon indicating copy to clipboard operation
pillarbox-apple copied to clipboard

Fix system video view leak

Open defagos opened this issue 2 years ago • 3 comments

As a user I don't want playback to unnecessarily continue in the background after I have closed a player.

Acceptance criteria

  • SystemVideoView does not leak resources anymore (FB11934227).
  • The following works:
    • Open the Video URL example of theSystem player (using AVPlayer) section located under the Showcase tab.
    • Pause, then resume playback.
    • Close the player. Sound must correctly stop.

Tasks

  • [x] Wait for Apple feedback and check whether the behavior has been fixed.
  • [x] Remove warning mentioning FB11934227 in SystemVideoView documentation as well as in the getting started guide.
  • [x] ~Mark SystemVideoView as being available starting from the iOS version it was fixed in.~

defagos avatar Jan 10 '23 08:01 defagos