mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-30 06:42:22 +08:00
修复mp4_as_player设置为1时,on_stream_none_reader回调无效流信息的问题 (#4725)
This commit is contained in:
@@ -73,6 +73,10 @@ public:
|
||||
_media_src->setInitSegment(getInitSegment());
|
||||
}
|
||||
|
||||
MediaSource::Ptr getMediaSource() const {
|
||||
return _media_src;
|
||||
}
|
||||
|
||||
protected:
|
||||
void onSegmentData(std::string string, uint64_t stamp, bool key_frame) override {
|
||||
if (string.empty()) {
|
||||
|
||||
Reference in New Issue
Block a user