for joy4 rtmp push onMetaData compatibility
This commit is contained in:
parent
bb37bce3ac
commit
8721c5a62b
|
|
@ -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"){
|
||||
//setMetaData(dec);
|
||||
_publisher_metadata = dec.load<AMFValue>();
|
||||
}else {
|
||||
TraceP(this) << "unknown notify:" << type;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue