mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-22 19:00:01 +08:00
修复rtp udp推流时,调用close_stream延时3秒才注销的bug (#3226)
This commit is contained in:
parent
6514be74f1
commit
8d951f06a0
@ -60,6 +60,7 @@ void RtpSession::onError(const SockException &err) {
|
|||||||
WarnP(this) << _stream_id << " " << err;
|
WarnP(this) << _stream_id << " " << err;
|
||||||
if (_process) {
|
if (_process) {
|
||||||
RtpSelector::Instance().delProcess(_stream_id, _process.get());
|
RtpSelector::Instance().delProcess(_stream_id, _process.get());
|
||||||
|
_process = nullptr;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user