mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-22 00:42:22 +08:00
优化Parser代码命名
This commit is contained in:
@@ -323,7 +323,7 @@ void WebRtcTransport::inputSockData(char *buf, int len, RTC::TransportTuple *tup
|
||||
if (RTC::StunPacket::IsStun((const uint8_t *)buf, len)) {
|
||||
std::unique_ptr<RTC::StunPacket> packet(RTC::StunPacket::Parse((const uint8_t *)buf, len));
|
||||
if (!packet) {
|
||||
WarnL << "parse stun error" << std::endl;
|
||||
WarnL << "parse stun error";
|
||||
return;
|
||||
}
|
||||
_ice_server->ProcessStunPacket(packet.get(), tuple);
|
||||
|
||||
Reference in New Issue
Block a user