
HLS segment with custom download function
Hi,
I'm looking for a way to attach a function in order to catch m3u8 / ts file downloads when buffering.
Thanks in advance.
Hi,
I'm looking for a way to attach a function in order to catch m3u8 / ts file downloads when buffering.
Thanks in advance.
Hi,
Currently we do not have a way to control this. As it stands, the download function will only work with actual video files.
Regards,
Andrew
Hi,
I maybe misspoke, the function I want to attach to jwplayer aim to replace media file retrieval by jwplayer.
I want to add a light drm, to do that I need to change the content on the fly before passing it to jwplayer.
Something like:
var CustomStream = function (url) {};
CustomStream.prototype.read = function () {};
CustomStream.prototype.eof = function () {};
CustomStream.prototype.close = function () {};
jwplayer('container').setup
({ file: '/some/url.m3u8',
useRetriever: CustomStream
});
Best,
Hi,
I don’t believe that we currently support this method of media file retrieval.