mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-22 02:34:26 +08:00
初始化selectedTuple为nullptr, 修复webrtc ice建连状态错误
This commit is contained in:
parent
56d6eb0f28
commit
8ab3e0a4d4
@ -127,7 +127,7 @@ namespace RTC
|
||||
std::string oldPassword;
|
||||
IceState state{ IceState::NEW };
|
||||
std::list<RTC::TransportTuple *> tuples;
|
||||
RTC::TransportTuple *selectedTuple;
|
||||
RTC::TransportTuple *selectedTuple { nullptr };
|
||||
std::weak_ptr<RTC::TransportTuple> lastSelectedTuple;
|
||||
//最大不超过mtu
|
||||
static constexpr size_t StunSerializeBufferSize{ 1600 };
|
||||
|
Loading…
Reference in New Issue
Block a user