From 178c5660b7cb0d073c9a252a808a02788bf0a633 Mon Sep 17 00:00:00 2001 From: zwcarl Date: Mon, 3 Jun 2024 19:46:06 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=BD=93=E6=BA=90=E6=9E=90?= =?UTF-8?q?=E6=9E=84=E6=97=B6=E7=BB=84=E6=92=AD=E5=AF=B9=E8=B1=A1=E5=81=B6?= =?UTF-8?q?=E7=8E=B0=E6=9E=90=E6=9E=84=E4=B8=8D=E4=BA=86=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Rtsp/RtpMultiCaster.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Rtsp/RtpMultiCaster.cpp b/src/Rtsp/RtpMultiCaster.cpp index 032aacc8..c358e68e 100644 --- a/src/Rtsp/RtpMultiCaster.cpp +++ b/src/Rtsp/RtpMultiCaster.cpp @@ -145,7 +145,7 @@ RtpMultiCaster::RtpMultiCaster(SocketHelper &helper, const string &local_ip, con }); string strKey = StrPrinter << local_ip << " " << vhost << " " << app << " " << stream << endl; - _rtp_reader->setDetachCB([this]() { + _rtp_reader->setDetachCB([this, strKey]() { { lock_guard lck(g_mtx); auto it = g_multi_caster_map.find(strKey);