This commit is contained in:
Waken 2024-01-18 10:21:27 +08:00
commit ee579ad483
1 changed files with 2 additions and 1 deletions

View File

@ -60,6 +60,7 @@ void RtpSession::onError(const SockException &err) {
WarnP(this) << _stream_id << " " << err;
if (_process) {
RtpSelector::Instance().delProcess(_stream_id, _process.get());
_process = nullptr;
}
}
@ -272,4 +273,4 @@ const char *RtpSession::searchByPsHeaderFlag(const char *data, size_t len) {
}
}//namespace mediakit
#endif//defined(ENABLE_RTPPROXY)
#endif//defined(ENABLE_RTPPROXY)