osmf-hls-plugin icon indicating copy to clipboard operation
osmf-hls-plugin copied to clipboard

DVR

Open mparisi76 opened this issue 10 years ago • 8 comments

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.

mparisi76 avatar Sep 23 '14 15:09 mparisi76

please send us your HLS video stream, have your tried that in a sample video player provided in the repository?

dangerden avatar Sep 23 '14 15:09 dangerden

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?

mparisi76 avatar Sep 23 '14 17:09 mparisi76

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.

dangerden avatar Sep 23 '14 17:09 dangerden

Ok, I thought so. So how do I set up a DVR HLS video stream?

Thanks.

mparisi76 avatar Sep 23 '14 17:09 mparisi76

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.

dangerden avatar Sep 23 '14 17:09 dangerden

@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".

flavioribeiro avatar Sep 24 '14 17:09 flavioribeiro

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.

D3adKnight avatar Sep 25 '14 11:09 D3adKnight

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.

xlazom00 avatar Oct 11 '14 16:10 xlazom00