Add hls_delay feature (#3158)

This commit is contained in:
SetoKaiba
2024-01-03 09:05:15 +08:00
committed by GitHub
parent bb2d482056
commit b6cbbb4339
7 changed files with 64 additions and 15 deletions

View File

@@ -349,6 +349,8 @@ extern const std::string kSegmentDuration;
extern const std::string kSegmentNum;
// 如果设置为0则不保留切片设置为1则一直保留切片
extern const std::string kSegmentKeep;
// HLS切片延迟个数大于0将生成hls_delay.m3u8文件0则不生成
extern const std::string kSegmentDelay;
// HLS切片从m3u8文件中移除后继续保留在磁盘上的个数
extern const std::string kSegmentRetain;
// HLS文件写缓存大小