Chromium Code Reviews

Unified Diff: webrtc/p2p/base/port.cc

Issue 1363573002: Wire up transport sequence number / send time callbacks to webrtc via libjingle. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Cleanups. Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: webrtc/p2p/base/port.cc
diff --git a/webrtc/p2p/base/port.cc b/webrtc/p2p/base/port.cc
index ce2855106caa8c9384271f3b1687c343061a5ce9..34f2aec56b31c161e1cb4279f822b3e419ed64f2 100644
--- a/webrtc/p2p/base/port.cc
+++ b/webrtc/p2p/base/port.cc
@@ -312,6 +312,10 @@ void Port::OnReadPacket(
}
}
+void Port::OnSentPacket(const rtc::SentPacket& sent_packet) {
+ PortInterface::SignalSentPacket(this, sent_packet);
+}
+
void Port::OnReadyToSend() {
AddressMap::iterator iter = connections_.begin();
for (; iter != connections_.end(); ++iter) {

Powered by Google App Engine