How to generate DVR playback fragment in a specific time range
5centsCDN supports time ranges for DVR playback, using this a client can playback the recorded fragment in a specific time range. This is used for various use cases, especially in the Electronic Program Guide (EPG) type of applications. No special setup is needed. Follow general setup instruction to make DVR settings and then use specially formed URL to get the content.
your DVR playback URL would be like
http://domain-hls-live.5centscdn.com/streamname_rec/hashsalt.mp4/playlist_dvr_range-<EPOCH_FROM>-<LENGTH>.m3u8
****
where EPOCH_FROM is the fragment start time as UTC epoch time and LENGTH is the length of the fragment in seconds.
Example:
It starts at a given time and lasts for 30 minutes.
NOTE: To get the DVR playback URL to go to Live Streams > DVR and click on the Manage Button near to your respective DVR stream. The PlaybackURL/Embed Code part will give you the corresponding General Playback URL for your DVR stream
Updated on: 08/08/2020
Thank you!
