Wowza Community

nDVR duration limit and WindowDuration

The nDVR documentation says:

For example, if you set the WindowDuration value to 3 hours, the recording will be 3 hours long. As time continues past 3 hours but is still less than the 30-hour maximum, the recording will be the last 3 hours and the earliest chunks are deleted as time progresses.

Note: Purged chunks to maintain the WindowDuration amount of time don't count toward the 30-hour maximum.

So, what exactly happens when WindowDuration is set to 3 hours, but the stream lasts much longer than 30 hours? Does DVR stop recording after 30 hours? OR Will the recording continue forever, and last 3 hours will always be available?

Also, is WindowDuration limiting the HDD space required for a DVR recording?

The documentation is quite confusing on this matter.

@Volodymyr_Bykov

Here’s more details on the recording duration with long nDVR recordings:
https://www.wowza.com/docs/wowza-ndvr-quick-start-guide#recordingLength

By having a 3 hour window, this will have a smaller playlist/manifest size and should get you past the 30 hour limit.

Yes, less HD space will be used as it’s being purged outside the window range. Within the window range, it will need to be manually purged when not needed.

Thank you, Jason.

However, the article does not contain a response to my question.

The behavior I’m expecting is: with 3-hour WindowDuration, the DVR records forever, continuously replacing the last 3 hours of recording. “Get past the 30-hour limit” and “record forever” are two different statements. I would like to know the exact behavior.

Hi,
“the recording continue forever, and last 3 hours will always be available” - here’s how it works.
We have nonstop streams but only make 3h available in DVR. It works. There is no problem.