优化hls录制

This commit is contained in:
xiongziliang
2019-12-17 09:18:11 +08:00
parent 1169f29ca6
commit a1e5724c70
4 changed files with 13 additions and 5 deletions

View File

@@ -87,6 +87,11 @@ protected:
* @param eof
*/
void flushLastSegment(bool eof = false);
/**
* 是否为直播
*/
bool isLive();
private:
/**
* 生成m3u8文件