mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-23 03:10:04 +08:00
for joy4 rtmp push onMetaData compatibility
This commit is contained in:
parent
bb37bce3ac
commit
8721c5a62b
@ -463,7 +463,10 @@ void RtmpSession::onRtmpChunk(RtmpPacket::Ptr packet) {
|
||||
std::string type = dec.load<std::string>();
|
||||
if (type == "@setDataFrame") {
|
||||
setMetaData(dec);
|
||||
} else {
|
||||
} else if(type == "onMetaData"){
|
||||
//setMetaData(dec);
|
||||
_publisher_metadata = dec.load<AMFValue>();
|
||||
}else {
|
||||
TraceP(this) << "unknown notify:" << type;
|
||||
}
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user