Unable to play dash.js stream from local disk file
Created by: charlie-ht
Environment
-
The MPD passes the DASH-IF Conformance Tool on https://conformance.dashif.org/ -
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: N/A
- Dash.js version: Latest
- Browser name/version: Safari
- OS name/version: Linux
Steps to reproduce
-
Please provide clear steps to reproduce your problem I am trying to understand if I can play an MPEG-CENC encrypted ClearKey file from the local disk, without hosting it all on a server. When I try to this, after passing all the relevant "allow local file access" flags to my browser, "nothing happens". There's no JS errors, no pertinent info from my web engine, and no interesting debug logging. Am I misunderstanding something, is there a way of doing this without hosting the mpd files on a server (I have that workflow working nicely)
-
If the bug is intermittent, give a rough frequency if possible
Observed behaviour
Describe what the player is doing that is unexpected or undesired behaviour.
Console output
Paste the contents of the browser console here.
You may need to enable debug logging in dash.js by calling player.updateSettings({ 'debug': { 'logLevel': dashjs.Debug.LOG_LEVEL_DEBUG }}) if you are using your own page.
No logging