mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-07-08 23:10:04 +08:00
增加长期保存hls切片的功能,segKeep=0为不长期保存,segKeep=1为长期保存。此功能部分等效于segNum=0的情况,不同的是这个保留不会在m3u8文件中体现。
This commit is contained in:
@@ -25,7 +25,8 @@ public:
|
||||
const std::string ¶ms,
|
||||
uint32_t bufSize = 64 * 1024,
|
||||
float seg_duration = 5,
|
||||
uint32_t seg_number = 3);
|
||||
uint32_t seg_number = 3,
|
||||
bool seg_keep = false);
|
||||
|
||||
~HlsMakerImp() override;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user