完善代码

This commit is contained in:
ziyue 2021-06-08 14:50:12 +08:00
parent e88281b2ff
commit 0593f65fcb

View File

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