Merge branch 'dev' of https://github.com/xia-chu/ZLMediaKit into dev_test

This commit is contained in:
ziyue
2021-06-23 17:32:09 +08:00
62 changed files with 19119 additions and 169 deletions

View File

@@ -463,6 +463,9 @@ void RtmpSession::onRtmpChunk(RtmpPacket::Ptr packet) {
std::string type = dec.load<std::string>();
if (type == "@setDataFrame") {
setMetaData(dec);
} else if (type == "onMetaData") {
//兼容某些不规范的推流器
_publisher_metadata = dec.load<AMFValue>();
} else {
TraceP(this) << "unknown notify:" << type;
}