0
votes

I've set up nginx-rtmp-module with HLS and I'm wondering if there's a way to set up DVR like Wowza's nDVR feature that lets you rewind a live stream, even to the very beginning of the stream. Right now I only get the most recent 40 seconds or so. Thanks!

(I gather it's possible from the comments here: http://nginx-rtmp.blogspot.ca/2013/02/multiple-locations-for-vod-in-098.html)

1

1 Answers

2
votes

Entirely possible, you just need to increase the HLS playlist length in your app config section. I've been using this myself and it works well!

For example if you'd like a DVR playlist of 30 minutes long, you'd put this inside your app section:

hls_playlist_length 30m;

See nginx-rtmp-module hls directives for more info.

Note

The HLS player you use needs to support this. For example Flowplayer/JWplayer will however Safari (both Mac/iOS) will just play the live stream.