完善代码
This commit is contained in:
parent
e88281b2ff
commit
0593f65fcb
|
|
@ -464,7 +464,7 @@ void RtmpSession::onRtmpChunk(RtmpPacket::Ptr packet) {
|
||||||
if (type == "@setDataFrame") {
|
if (type == "@setDataFrame") {
|
||||||
setMetaData(dec);
|
setMetaData(dec);
|
||||||
} else if (type == "onMetaData") {
|
} else if (type == "onMetaData") {
|
||||||
//setMetaData(dec);
|
//兼容某些不规范的推流器
|
||||||
_publisher_metadata = dec.load<AMFValue>();
|
_publisher_metadata = dec.load<AMFValue>();
|
||||||
} else {
|
} else {
|
||||||
TraceP(this) << "unknown notify:" << type;
|
TraceP(this) << "unknown notify:" << type;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue