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

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

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.h
diff --git a/talk/app/webrtc/objc/RTCPeerConnectionObserver.h b/talk/app/webrtc/objc/RTCPeerConnectionObserver.h
index 9b981b9307abf8f82bc691773d377b5eb104a0e5..f5fb8dc6bbbd19c9cc96bb9e621db858fac0f783 100644
--- a/talk/app/webrtc/objc/RTCPeerConnectionObserver.h
+++ b/talk/app/webrtc/objc/RTCPeerConnectionObserver.h
@@ -68,6 +68,9 @@ class RTCPeerConnectionObserver : public PeerConnectionObserver {
// New Ice candidate have been found.
void OnIceCandidate(const IceCandidateInterface* candidate) override;
+ // Called when the first RTP packet is received.
+ void OnFirstMediaPacketReceived() override;
+
private:
__weak RTCPeerConnection* _peerConnection;
};

Powered by Google App Engine
This is Rietveld 408576698