mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-26 20:47:08 +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>();
|
std::string type = dec.load<std::string>();
|
||||||
if (type == "@setDataFrame") {
|
if (type == "@setDataFrame") {
|
||||||
setMetaData(dec);
|
setMetaData(dec);
|
||||||
} else {
|
} else if(type == "onMetaData"){
|
||||||
|
//setMetaData(dec);
|
||||||
|
_publisher_metadata = dec.load<AMFValue>();
|
||||||
|
}else {
|
||||||
TraceP(this) << "unknown notify:" << type;
|
TraceP(this) << "unknown notify:" << type;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user