hls m3u8文件直接通过内存读写

This commit is contained in:
ziyue
2022-02-11 16:21:19 +08:00
parent 642c9c075a
commit 49fc17d7e0
9 changed files with 96 additions and 69 deletions

View File

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