Index: webrtc/p2p/base/stunport.cc |
diff --git a/webrtc/p2p/base/stunport.cc b/webrtc/p2p/base/stunport.cc |
index 615bbfe55a0b1859d6218df12603609020dcf0f8..1598fe43cea80a91c98b897cf48cb19c07ef2638 100644 |
--- a/webrtc/p2p/base/stunport.cc |
+++ b/webrtc/p2p/base/stunport.cc |
@@ -217,6 +217,7 @@ bool UDPPort::Init() { |
} |
socket_->SignalReadPacket.connect(this, &UDPPort::OnReadPacket); |
} |
+ socket_->SignalSentPacket.connect(this, &UDPPort::OnSentPacket); |
socket_->SignalReadyToSend.connect(this, &UDPPort::OnReadyToSend); |
socket_->SignalAddressReady.connect(this, &UDPPort::OnLocalAddressReady); |
requests_.SignalSendPacket.connect(this, &UDPPort::OnSendPacket); |
@@ -329,6 +330,11 @@ void UDPPort::OnReadPacket( |
} |
} |
+void UDPPort::OnSentPacket(rtc::AsyncPacketSocket* socket, |
+ const rtc::SentPacket& sent_packet) { |
+ Port::OnSentPacket(sent_packet); |
+} |
+ |
void UDPPort::OnReadyToSend(rtc::AsyncPacketSocket* socket) { |
Port::OnReadyToSend(); |
} |