Do not cache hls playlist files at all. Closes #229
This commit is contained in:
@@ -57,6 +57,8 @@ func getCacheDurationSecondsForPath(filePath string) int {
|
||||
// This matters most for local hosting of segments for recordings
|
||||
// and not for live or 3rd party storage.
|
||||
return 31557600
|
||||
} else if path.Ext(filePath) == ".m3u8" {
|
||||
return 0
|
||||
}
|
||||
|
||||
// Default cache length in seconds
|
||||
|
||||
Reference in New Issue
Block a user