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

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: Fixing race condition in unit test. 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..47246cbef7040c0e46b2fdcf1c60f598d018bc22 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::OnFirstMediaPacketReceived() {
+ id<RTCPeerConnectionDelegate> delegate = _peerConnection.delegate;
+ [delegate peerConnectionOnFirstMediaPacketReceived:_peerConnection];
+}
+
} // namespace webrtc
« no previous file with comments | « talk/app/webrtc/objc/RTCPeerConnectionObserver.h ('k') | talk/app/webrtc/objc/public/RTCPeerConnectionDelegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698