No caption or wrong caption displayed when default text track is =/= from index 0
Created by: Gontran-Molotov
Environment
-
The MPD passes the DASH-IF Conformance Tool on http://dashif.org/conformance.html -
The stream has correct Access-Control-Allow-Origin headers (CORS) -
There are no network errors such as 404s in the browser console when trying to play the stream -
The issue observed is not mentioned on https://github.com/Dash-Industry-Forum/dash.js/wiki/FAQ -
The issue occurs in the latest reference client on http://reference.dashif.org/dash.js/ and not just on my page
- Link to playable MPD file: https://vm2.dashif.org/dash/vod/testpic_2s/multi_subs.mpd
- Dash.js version: v2.6.8 to v2.9.0
- Browser name/version: Google Chrome 69.0.3497.92
- OS name/version: ArchLinux
Steps to reproduce
- Open the reference player page http://reference.dashif.org/dash.js/v2.6.8/samples/dash-if-reference-player/index.html and select this stream: https://vm2.dashif.org/dash/vod/testpic_2s/multi_subs.mpd
- Click on Show Options and type
swe
in the Text: field of the Initial Settings section - Click on the Load button
Observed behaviour
- In dash.js v2.6.8 to v2.8.0, there is no caption displayed but if you open the caption menu in the controlbar, the swe: subtitles menu item is correctly selected.
- In dash.js v2.9.0, the first text track (eng) is displayed while the swe: subtitles menu item is correctly selected.
- The problem does not occur in v2.6.7