Merge branch 'feature/on-record-ts' of https://github.com/wasphin/ZLMediaKit into pr

This commit is contained in:
xiongziliang
2020-09-20 11:01:45 +08:00
12 changed files with 147 additions and 31 deletions

View File

@@ -121,6 +121,11 @@ void HlsMaker::flushLastSegment(bool eof){
delOldSegment();
makeIndexFile(eof);
_last_file_name.clear();
onFlushLastSegment(seg_dur);
}
void HlsMaker::onFlushLastSegment(uint32_t) {
}
bool HlsMaker::isLive() {