mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-25 03:02:22 +08:00
修正metadata拼写错误,优化RtmpMediaSource注册机制,修复及时拉流不出画面的bug
This commit is contained in:
@@ -197,7 +197,7 @@ CodecId Factory::getCodecIdByAmf(const AMFValue &val){
|
||||
return CodecInvalid;
|
||||
}
|
||||
}else{
|
||||
WarnL << "Metedata不存在相应的Track";
|
||||
WarnL << "Metadata不存在相应的Track";
|
||||
}
|
||||
|
||||
return CodecInvalid;
|
||||
|
||||
@@ -73,14 +73,14 @@ public:
|
||||
|
||||
/**
|
||||
* 根据amf对象获取响应的Track
|
||||
* @param amf rtmp metedata中的videocodecid或audiocodecid的值
|
||||
* @param amf rtmp metadata中的videocodecid或audiocodecid的值
|
||||
* @return
|
||||
*/
|
||||
static Track::Ptr getTrackByAmf(const AMFValue &amf);
|
||||
|
||||
/**
|
||||
* 根据amf对象获取相应的CodecId
|
||||
* @param val rtmp metedata中的videocodecid或audiocodecid的值
|
||||
* @param val rtmp metadata中的videocodecid或audiocodecid的值
|
||||
* @return
|
||||
*/
|
||||
static CodecId getCodecIdByAmf(const AMFValue &val);
|
||||
|
||||
Reference in New Issue
Block a user