mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-07-29 05:24:04 +08:00
修复mp4_as_player设置为1时,on_stream_none_reader回调无效流信息的问题 (#4725)
This commit is contained in:
@@ -397,7 +397,8 @@ bool equalMediaTuple(const MediaTuple& a, const MediaTuple& b);
|
||||
*/
|
||||
class MediaSource: public TrackSource, public std::enable_shared_from_this<MediaSource> {
|
||||
public:
|
||||
static MediaSource& NullMediaSource();
|
||||
static MediaSource &NullMediaSource(const MediaTuple &tuple = {"vhost", "app", "stream" });
|
||||
|
||||
using Ptr = std::shared_ptr<MediaSource>;
|
||||
|
||||
MediaSource(const std::string &schema, const MediaTuple& tuple);
|
||||
|
||||
Reference in New Issue
Block a user