mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-07-05 10:58:11 +08:00
无metadata且不能获取Track的rtmp确保能注册
This commit is contained in:
@@ -107,6 +107,14 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 更新metadata
|
||||
*/
|
||||
void updateMetaData(const AMFValue &metadata) {
|
||||
lock_guard<recursive_mutex> lock(_mtx);
|
||||
_metadata = metadata;
|
||||
}
|
||||
|
||||
/**
|
||||
* 输入rtmp包
|
||||
* @param pkt rtmp包
|
||||
|
||||
Reference in New Issue
Block a user