Do not cache hls playlist files at all. Closes #229

This commit is contained in:
Gabe Kangas
2020-10-06 18:26:11 -07:00
parent a36891c465
commit 0445274fbd
3 changed files with 2 additions and 3 deletions

View File

@@ -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