Local .mpd files not streaming in Node.js
See original GitHub issueHave you read the FAQ and checked for duplicate open issues? Yes, I have read and there isn’t a similar issue.
What version of Shaka Player are you using? v 2.5.12
Can you reproduce the issue with our latest release version? Yes
Can you reproduce the issue with the latest code from master
?
Yes
Are you using the demo app or your own custom app? Custom app
If custom app, can you reproduce the issue using our demo app? NA
What browser and OS are you using? Browser: Chrome. OS: Windows 10
For embedded devices (smart TVs, etc.), what model and firmware version are you using? NA
What are the manifest and license server URIs?
NA What did you do? I have a video file (.mp4) in my system in C drive I have converted it into .mpd using FFmpeg and fluent-FFmpeg in Node.js and then copy-pasted the .mpd file path in javascript var manifestUri = " " variable.
What did you expect to happen? I expected that the video would play
What actually happened?
Error 1001 in the console was the output. Can you please tell me where and how to put these .mpd files so that they would get played on the browser
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (3 by maintainers)
Top GitHub Comments
You need to enter a web URL, not a local file path. So
/foo/bar
won’t work since it will interpret the path as a web URL relative to the current web page. Some browsers support local files usingfile:///foo
, but not all browsers allow reading local files. You need to serve the MPD and segments on a web server for the browser to be able to read them.Thank you @joeyparrish .