mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-07-05 02:38:10 +08:00
修复mp4_as_player设置为1时,on_stream_none_reader回调无效流信息的问题 (#4725)
This commit is contained in:
@@ -68,6 +68,10 @@ public:
|
||||
return _option.ts_demand ? (_clear_cache ? true : _enabled) : true;
|
||||
}
|
||||
|
||||
MediaSource::Ptr getMediaSource() const {
|
||||
return _media_src;
|
||||
}
|
||||
|
||||
protected:
|
||||
void onWrite(std::shared_ptr<toolkit::Buffer> buffer, uint64_t timestamp, bool key_pos) override {
|
||||
if (!buffer) {
|
||||
|
||||
Reference in New Issue
Block a user