修复HLS按需生成相关bug

This commit is contained in:
xiongziliang
2020-09-12 20:42:58 +08:00
parent 3b5053af50
commit 1b9550cfc4
4 changed files with 14 additions and 5 deletions

View File

@@ -37,7 +37,7 @@ public:
_listener = listener;
_hls->getMediaSource()->setListener(shared_from_this());
//先注册媒体流,后续可以按需生成
_hls->getMediaSource()->registHls();
_hls->getMediaSource()->registHls(false);
}
int readerCount() {