mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-03-13 17:40:56 +08:00
修复动态添加HlsMediaSource后无法获取Track列表的问题
This commit is contained in:
@@ -96,6 +96,7 @@ bool MultiMuxerPrivate::setupRecord(MediaSource &sender, Recorder::type type, bo
|
||||
if (hls_src) {
|
||||
//设置HlsMediaSource的事件监听器
|
||||
hls_src->setListener(_meida_listener);
|
||||
hls_src->setTrackSource(shared_from_this());
|
||||
}
|
||||
} else if (!start && _hls) {
|
||||
//停止录制
|
||||
|
||||
Reference in New Issue
Block a user