mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-22 10:40:05 +08:00
rtmp session when client stop publish not set push src null avoid judge player or pusher error
This commit is contained in:
parent
b22e1cf937
commit
fe652e46b4
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user