Dash-Industry-Forum / dash.js

A reference client implementation for the playback of MPEG DASH via Javascript and compliant browsers.
http://reference.dashif.org/dash.js/nightly/samples/dash-if-reference-player/index.html
Other
5.16k stars 1.68k forks source link

Dynamic sources from blobs #880

Closed ericwooley closed 8 years ago

ericwooley commented 9 years ago

I have video blobs available through unconventional means, is it possible to use URL.createObjectURL() to create video sources, then play them in a dynamic order?

Can I either A) pass blobs into dashjs somehow or B) could I somehow create a dynamic manifest? I saw http://streaming.polito.it/2013/03/18/dash-js-with-live-streaming/ but I don't think its possible to set any kind of url pattern for URL.createObjectURL()

dsparacio commented 8 years ago

At this time we only take parsed manifest or string url to mpd. we then process it into the blob and set as src on element when ready. I will add this to the backlog. Offer a solution as a PR and we will review.