osmf-hls-plugin
osmf-hls-plugin copied to clipboard
DVR
How do I get DVR to work? I am using your plugin with my OSMF based player. I got it to work with HDS, but I've not been able to figure out how to get it working with HLS. Can you help?
Thanks.
please send us your HLS video stream, have your tried that in a sample video player provided in the repository?
Yes, I found http://m4stv.inqb8r.tv/studentTV/studentTV.stream_360p/playlist.m3u8 in your repo, and it plays in my osmf player, but I'm not sure that I have DVR functionality. IS there something I need to do to turn on DVR?
You need to have a DVR HLS video stream first of all. It should work without any modifications in the player.
Sent from my iPhone
On Sep 23, 2014, at 9:19 PM, mparisi76 [email protected] wrote:
Yes, I found http://m4stv.inqb8r.tv/studentTV/studentTV.stream_360p/playlist.m3u8 in your repo, and it plays in my osmf player, but I'm not sure that I have DVR functionality. IS there something I need to do to turn on DVR?
— Reply to this email directly or view it on GitHub.
Ok, I thought so. So how do I set up a DVR HLS video stream?
Thanks.
It depends on your live / DVR video encoder.
Sent from my iPhone
On Sep 23, 2014, at 9:24 PM, mparisi76 [email protected] wrote:
Ok, I thought so. So how do I set up a DVR HLS video stream?
Thanks.
— Reply to this email directly or view it on GitHub.
@mparisi76 in most encoders/segmenters there's an option to define your manifests (m3u8) scheme. You can set the segmenter to update the playlist maintaining a window size (10 segments, for example) or append new chunks to it. DVR is nothing more then a seek on your playlist file, assuming that seeking to -1
on flashls means "seek to live".
Just put DVR in the url params: http://m4stv.inqb8r.tv/studentTV/studentTV.stream_360p/playlist.m3u8?DVR
Live and DVR HLS-streams has one StreamType in OSMF (or most of decoders/servers has incorrect settings): LIVE_OR_RECORDED instead of pure LIVE/DVR stream-type.
How can I setup startup file from m3u8 playlist? in live mode it start from middle of list in DVR mode it start from latest file my hls fragmenter isn't always that fast.