baseurl ignored - twitter mpd files are not being played
Created by: sirpy
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://dashif.org/reference/players/javascript/ and not just on my page
- Link to playable MPD file: https://video.twimg.com/amplify_video/805498772188962816/pl/7RdDqcRhZq7bSyXF.mpd
- Dash.js version: 2.3.0
- Browser name/version: all
- OS name/version: all
Steps to reproduce
try to play any twitter mpd file on the reference player
Observed behaviour
the console shows it tried to read the video files from dashif domain and not from twimg domain even though the exists in the mpd file a file with modified video links that include the full url instead of relative to base does play correctly https://gist.githubusercontent.com/sirpy/fc86e922af5c93ced57ba5776bccc28d/raw/053e50107956a19c4895bb606200331b6beb9a0b/test.mpd
Console output
[17] EME detected on this user agent! (ProtectionModel_21Jan2015)
Debug.js:108[23] [dash.js 2.3.0] MediaPlayer has been initialized
Debug.js:108 [48229] Playback Initialized
Debug.js:108 [48288] Parsing complete: ( xml2json: 5.25ms, objectiron: 18.1ms, total: 0.0234s)
Debug.js:108 [48294] Manifest has been refreshed at Tue Dec 06 2016 11:02:25 GMT+0200 (IST)[1481014945.618]
Debug.js:108 [48300] SegmentTimeline detected using calculated Live Edge Time
Debug.js:108 [48307] MediaSource attached to element. Waiting on open...
Debug.js:108 [48308] MediaSource is open!
Debug.js:108 [48309] Duration successfully set to: 30.364
Debug.js:108 [48310] Added 0 inline events
Debug.js:108 [48311] video codec: video/mp4;codecs="avc1.42001f"
Debug.js:108 [48326] Schedule controller stopping for video
Debug.js:108 [48327] Last saved bitrate for video was 4102
Debug.js:108 [48333] audio codec: audio/mp4;codecs="mp4a.40.2"
Debug.js:108 [48337] Schedule controller stopping for audio
Debug.js:108 [48337] Last saved bitrate for audio was 128
Debug.js:108 [48338] No text data.
Debug.js:108 [48338] No fragmentedText data.
Debug.js:108 [48339] No embeddedText data.
Debug.js:108 [48339] No muxed data.
Debug.js:108 [48343] Start Event Controller
Debug.js:108 [48347] Schedule controller starting for video
Debug.js:108 [48348] Schedule controller starting for audio
Debug.js:108 [48349] Native video element event: play
XHRLoader.js:223 GET http://dashif.org/amplify_video/805498772188962816/aud/128000/i/X_v7Us82n0fVXVNp.m4s 404 (Not Found)internalLoad @ XHRLoader.js:223load @ XHRLoader.js:256load @ FragmentLoader.js:96loadCurrentFragment @ FragmentModel.js:159executeRequest @ FragmentModel.js:150getInitRequest @ ScheduleController.js:260start @ ScheduleController.js:168onStreamInitialized @ ScheduleController.js:303(anonymous function) @ EventBus.js:87trigger @ EventBus.js:87checkIfInitializationCompleted @ Stream.js:457initializeMedia @ Stream.js:437activate @ Stream.js:124onMediaSourceOpen @ StreamController.js:427
XHRLoader.js:223 GET http://dashif.org/amplify_video/805498772188962816/vid/1280x720/i/QOzAgqawMRaj1XAY.m4s 404 (Not Found)internalLoad @ XHRLoader.js:223load @ XHRLoader.js:256load @ FragmentLoader.js:96loadCurrentFragment @ FragmentModel.js:159executeRequest @ FragmentModel.js:150getInitRequest @ ScheduleController.js:260start @ ScheduleController.js:168onStreamInitialized @ ScheduleController.js:303(anonymous function) @ EventBus.js:87trigger @ EventBus.js:87checkIfInitializationCompleted @ Stream.js:457initializeMedia @ Stream.js:437activate @ Stream.js:124onMediaSourceOpen @ StreamController.js:427
XHRLoader.js:223 GET http://dashif.org/amplify_video/805498772188962816/aud/128000/i/X_v7Us82n0fVXVNp.m4s 404 (Not Found)internalLoad @ XHRLoader.js:223(anonymous function) @ XHRLoader.js:125
XHRLoader.js:223 GET http://dashif.org/amplify_video/805498772188962816/vid/1280x720/i/QOzAgqawMRaj1XAY.m4s 404 (Not Found)internalLoad @ XHRLoader.js:223(anonymous function) @ XHRLoader.js:125
XHRLoader.js:223 GET http://dashif.org/amplify_video/805498772188962816/aud/128000/i/X_v7Us82n0fVXVNp.m4s 404 (Not Found)internalLoad @ XHRLoader.js:223(anonymous function) @ XHRLoader.js:125
XHRLoader.js:223 GET http://dashif.org/amplify_video/805498772188962816/vid/1280x720/i/QOzAgqawMRaj1XAY.m4s 404 (Not Found)internalLoad @ XHRLoader.js:223(anonymous function) @ XHRLoader.js:125
XHRLoader.js:223 GET http://dashif.org/amplify_video/805498772188962816/aud/128000/i/X_v7Us82n0fVXVNp.m4s 404 (Not Found)internalLoad @ XHRLoader.js:223(anonymous function) @ XHRLoader.js:125
Debug.js:108 [56648] No audio bytes to push.
XHRLoader.js:223 GET http://dashif.org/amplify_video/805498772188962816/vid/1280x720/i/QOzAgqawMRaj1XAY.m4s 404 (Not Found)internalLoad @ XHRLoader.js:223(anonymous function) @ XHRLoader.js:125
Debug.js:108 [57391] No video bytes to push.