flashls icon indicating copy to clipboard operation
flashls copied to clipboard

How to determine that given URL is DVR or not?

Open AlexSnet opened this issue 11 years ago • 4 comments

AlexSnet avatar Jan 26 '15 15:01 AlexSnet

hls.type should return VOD or LIVE

mangui avatar Jan 26 '15 18:01 mangui

Yes, but on Live DVR (ex.: http://live.maestro.cdnvideo.ru/maestro/maestro_hq.sdp/playlist.m3u8?DVR ) it returns LIVE, which is a half of truth... It has DVR for 24 hours...

AlexSnet avatar Jan 29 '15 15:01 AlexSnet

this playlist does not have a ENDLIST tag, hence it is marked as LIVE. it is up to the player application to eventually treat this differently.

2015-01-29 16:15 GMT+01:00 Alex Snet [email protected]:

Yes, but on Live DVR (ex.: http://live.maestro.cdnvideo.ru/maestro/maestro_hq.sdp/playlist.m3u8?DVR ) it returns LIVE, which is a half of truth... It has DVR for 24 hours...

— Reply to this email directly or view it on GitHub https://github.com/mangui/flashls/issues/191#issuecomment-72041024.

mangui avatar Jan 29 '15 16:01 mangui

Just to mention, we check if the video is live and has more than 4 minutes on its playlist. If so, we enable seeking back.

flavioribeiro avatar Jan 29 '15 18:01 flavioribeiro