SRGSSR / srgmediaplayer-apple

An advanced media player library, simple and reliable
MIT License
159 stars 33 forks source link

Subtitles persist when switching to another content #122

Open defagos opened 1 year ago

defagos commented 1 year ago

When switching between a content displaying subtitles (e.g. via automatic selection) to another one without subtitles, subtitles persist on the second content and never update anymore.

Issue type

Incorrect behavior

Environment information

Reproducibility

Always reproducible

Steps to reproduce

  1. Tweak the advanced demo player so that the skip forward button plays the Apple basic stream URL (which has no subtitles).
  2. Play the Apple advanced stream with the demo and select an option that displays subtitle.
  3. Tap on the skip button to switch to the basic stream. Subtitles incorrectly persist on screen

Remark: When doing the same with Pillarbox player using a playlist, the issue does not appear.