From 8ab3e0a4d497b43e147a32143351dbfdc48fe2fb Mon Sep 17 00:00:00 2001 From: ziyue <1213642868@qq.com> Date: Fri, 3 Mar 2023 15:25:15 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=9D=E5=A7=8B=E5=8C=96selectedTuple?= =?UTF-8?q?=E4=B8=BAnullptr,=20=E4=BF=AE=E5=A4=8Dwebrtc=20ice=E5=BB=BA?= =?UTF-8?q?=E8=BF=9E=E7=8A=B6=E6=80=81=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- webrtc/IceServer.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webrtc/IceServer.hpp b/webrtc/IceServer.hpp index 92a0f31a..316d32af 100644 --- a/webrtc/IceServer.hpp +++ b/webrtc/IceServer.hpp @@ -127,7 +127,7 @@ namespace RTC std::string oldPassword; IceState state{ IceState::NEW }; std::list tuples; - RTC::TransportTuple *selectedTuple; + RTC::TransportTuple *selectedTuple { nullptr }; std::weak_ptr lastSelectedTuple; //最大不超过mtu static constexpr size_t StunSerializeBufferSize{ 1600 };