添加 hls ts 切片录制完成通知

This commit is contained in:
wxf
2020-09-13 14:08:05 +08:00
parent a024c51536
commit 188e087fc2
7 changed files with 79 additions and 0 deletions

View File

@@ -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() {