diff --git a/src/Rtmp/RtmpSession.cpp b/src/Rtmp/RtmpSession.cpp index 36f8e84b..81a71c11 100644 --- a/src/Rtmp/RtmpSession.cpp +++ b/src/Rtmp/RtmpSession.cpp @@ -222,7 +222,7 @@ void RtmpSession::onCmd_deleteStream(AMFDecoder &dec) { sendStatus({ "level", "status", "code", "NetStream.Unpublish.Success", "description", "Stop publishing." }); - _push_src = nullptr; + //_push_src = nullptr; throw std::runtime_error(StrPrinter << "Stop publishing" << endl); }