mirror of
https://github.com/shaka-project/shaka-player.git
synced 2026-06-15 16:06:41 +03:00
509e7b046a
Previously, on manifest updates, embedded captions would vanish in single-period live DASH streams. The problem was based on the specific point in the load order that we added dummy text streams to indicate the presence of embedded captions. This modifies the PlayerInterface for manifest parsers to add a new method passed in, makeTextStreamsForClosedCaptions, which must be called by manifest parsers for new video streams. This also completes an unfinished feature, where new video streams which add new closed captions would not get corresponding text streams. Closes #2811 Change-Id: Iee7499ec950b363cf6839765cc2bd2d01743467d