change_segment_clean_up_period
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
change_segment_clean_up_period [2017/06/15 07:43] – created walkeradmin | change_segment_clean_up_period [2023/03/09 22:35] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 8: | Line 8: | ||
\\ | \\ | ||
\\ | \\ | ||
- | ---- | + | Open this file and look for the line <color # |
- | * [[Change segment clean up period]\\ | + | \\ |
+ | \\ | ||
+ | The tsPartDuration parameter is the duration of the chunk the dvr recorder will write. By default, the value is 2000 ms. Thus, every 2s, the dvr-recorder will write a chunk of 2s. | ||
+ | You can change this parameter in order to decrease the NAS loading (i.e 10000ms). | ||
+ | Increasing the value of this parameter will delay the live output stream. So, if you change the value from 2s to 10s. The live will be delayed of 8s. | ||
+ | \\ | ||
+ | \\ | ||
+ | The periodDuration parameter is the internal period that will be used for DVR. | ||
+ | <color # | ||
+ | \\ | ||
+ | \\ | ||
+ | <sxh [py][; options for SyntaxHighlighter]> | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | } | ||
+ | }, | ||
+ | " | ||
+ | " | ||
+ | }, | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | }, | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | } | ||
+ | }, | ||
+ | " | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | { | ||
+ | "period": | ||
+ | " | ||
+ | " | ||
+ | } | ||
+ | } | ||
+ | }, | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | } | ||
+ | }, | ||
+ | " | ||
+ | " | ||
+ | } | ||
+ | } | ||
+ | </ | ||
- | edit / | ||
- | change period duration from 3600 to 360 |
change_segment_clean_up_period.1497509016.txt.gz · Last modified: 2023/03/09 22:35 (external edit)