diff --git a/src/connectors/conn_rtmp.cpp b/src/connectors/conn_rtmp.cpp index 0893af93..613496d6 100644 --- a/src/connectors/conn_rtmp.cpp +++ b/src/connectors/conn_rtmp.cpp @@ -465,7 +465,7 @@ void Connector_RTMP::parseAMFCommand(AMF::Object & amfdata, int messagetype, int } return; } - if ((amfdata.getContentP(0)->StrValue() == "FCPublish") || (amfdata.getContentP(0)->StrValue() == "releaseStream")){ + if ((amfdata.getContentP(0)->StrValue() == "FCPublish") || (amfdata.getContentP(0)->StrValue() == "FCUnpublish") || (amfdata.getContentP(0)->StrValue() == "releaseStream")){ // ignored return; }