mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-07-28 21:14:03 +08:00
修复mp4_as_player设置为1时,on_stream_none_reader回调无效流信息的问题 (#4725)
This commit is contained in:
@@ -77,6 +77,10 @@ public:
|
||||
return _option.hls_demand ? (_clear_cache ? true : _enabled) : true;
|
||||
}
|
||||
|
||||
MediaSource::Ptr getMediaSource() const {
|
||||
return _hls ? _hls->getMediaSource() : nullptr;
|
||||
}
|
||||
|
||||
protected:
|
||||
bool _enabled = true;
|
||||
bool _clear_cache = false;
|
||||
|
||||
Reference in New Issue
Block a user