mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-07-05 02:38:10 +08:00
修正metadata拼写错误,优化RtmpMediaSource注册机制,修复及时拉流不出画面的bug
This commit is contained in:
@@ -39,7 +39,7 @@ public:
|
||||
RtmpMediaSourceMuxer(const string &vhost,
|
||||
const string &strApp,
|
||||
const string &strId,
|
||||
const TitleMete::Ptr &title = nullptr) : RtmpMuxer(title){
|
||||
const TitleMeta::Ptr &title = nullptr) : RtmpMuxer(title){
|
||||
_mediaSouce = std::make_shared<RtmpMediaSource>(vhost,strApp,strId);
|
||||
getRtmpRing()->setDelegate(_mediaSouce);
|
||||
}
|
||||
@@ -53,7 +53,7 @@ public:
|
||||
}
|
||||
private:
|
||||
void onAllTrackReady() override {
|
||||
_mediaSouce->onGetMetaData(getMetedata());
|
||||
_mediaSouce->onGetMetaData(getMetadata());
|
||||
}
|
||||
private:
|
||||
RtmpMediaSource::Ptr _mediaSouce;
|
||||
|
||||
Reference in New Issue
Block a user