mirror of
https://github.com/shaka-project/shaka-player.git
synced 2026-06-14 15:56:38 +03:00
3a67802ce2
It turns out that, on some browsers, incomplete XML does not properly parse. This means the parseFirstCue tests did not work on those platforms. This modifies those tests on platforms that do not support partial XML; when no support is detected, it instead tries to get the first cue from a non-partial segment. This also modifies the HLS parser to only load partial text segments if the text parser supports it; otherwise, the hls parser will load full captions in order to extract start times. b/137945635 Issue #2037 Change-Id: I58112864a818baf155b365a65fba1c8a56eb9520