修正metadata拼写错误,优化RtmpMediaSource注册机制,修复及时拉流不出画面的bug

This commit is contained in:
xiongziliang
2019-09-23 16:47:20 +08:00
parent 8ae9f56110
commit cb7c72d9d9
14 changed files with 79 additions and 67 deletions

View File

@@ -41,14 +41,14 @@ public:
/**
* 构造函数
*/
RtmpMuxer(const TitleMete::Ptr &title);
RtmpMuxer(const TitleMeta::Ptr &title);
virtual ~RtmpMuxer(){}
/**
* 获取完整的SDP字符串
* @return SDP字符串
*/
const AMFValue &getMetedata() const ;
const AMFValue &getMetadata() const ;
/**
* 获取rtmp环形缓存
@@ -64,7 +64,7 @@ protected:
void onTrackReady(const Track::Ptr & track) override ;
private:
RtmpRingInterface::RingType::Ptr _rtmpRing;
AMFValue _metedata;
AMFValue _metadata;
};