Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(244)

Unified Diff: talk/app/webrtc/objc/RTCPeerConnectionObserver.mm

Issue 1581693006: Adding "first packet received" notification to PeerConnectionObserver. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: talk/app/webrtc/objc/RTCPeerConnectionObserver.mm
diff --git a/talk/app/webrtc/objc/RTCPeerConnectionObserver.mm b/talk/app/webrtc/objc/RTCPeerConnectionObserver.mm
index 411cd6cb899a9a9ba33041884ff33a49b3a3c8c0..e18b99556ee46fcf564e7fb4a743946d04db5717 100644
--- a/talk/app/webrtc/objc/RTCPeerConnectionObserver.mm
+++ b/talk/app/webrtc/objc/RTCPeerConnectionObserver.mm
@@ -105,4 +105,9 @@ void RTCPeerConnectionObserver::OnIceCandidate(
gotICECandidate:iceCandidate];
}
+void RTCPeerConnectionObserver::OnFirstPacketReceived() {
+ id<RTCPeerConnectionDelegate> delegate = _peerConnection.delegate;
+ [delegate peerConnectionOnFirstPacketReceived:_peerConnection];
+}
+
} // namespace webrtc

Powered by Google App Engine
This is Rietveld 408576698