mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-28 05:29:24 +08:00
确保推流器主动断开时,不开启断连续推特性: #1559
This commit is contained in:
@@ -223,6 +223,7 @@ void RtmpSession::onCmd_deleteStream(AMFDecoder &dec) {
|
||||
sendStatus({ "level", "status",
|
||||
"code", "NetStream.Unpublish.Success",
|
||||
"description", "Stop publishing." });
|
||||
_push_src = nullptr;
|
||||
throw std::runtime_error(StrPrinter << "Stop publishing" << endl);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user