mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-25 03:02:22 +08:00
添加 hls ts 切片录制完成通知
This commit is contained in:
@@ -120,6 +120,11 @@ void HlsMaker::flushLastSegment(uint32_t timestamp, bool eof){
|
||||
delOldSegment();
|
||||
makeIndexFile(eof);
|
||||
_last_file_name.clear();
|
||||
|
||||
onFlushLastSegment(seg_dur);
|
||||
}
|
||||
|
||||
void HlsMaker::onFlushLastSegment(uint32_t) {
|
||||
}
|
||||
|
||||
bool HlsMaker::isLive() {
|
||||
|
||||
Reference in New Issue
Block a user