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