修复on_flow_report player状态

This commit is contained in:
baiyfcu 2022-06-23 18:08:21 +08:00
parent 5162cf6112
commit 9acd1c2b36

View File

@ -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);
}