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

Side by Side 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * libjingle 2 * libjingle
3 * Copyright 2013 Google Inc. 3 * Copyright 2013 Google Inc.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are met: 6 * modification, are permitted provided that the following conditions are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright notice, 8 * 1. Redistributions of source code must retain the above copyright notice,
9 * this list of conditions and the following disclaimer. 9 * this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright notice, 10 * 2. Redistributions in binary form must reproduce the above copyright notice,
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 void OnIceConnectionChange( 61 void OnIceConnectionChange(
62 PeerConnectionInterface::IceConnectionState new_state) override; 62 PeerConnectionInterface::IceConnectionState new_state) override;
63 63
64 // Called any time the ICEGatheringState changes 64 // Called any time the ICEGatheringState changes
65 void OnIceGatheringChange( 65 void OnIceGatheringChange(
66 PeerConnectionInterface::IceGatheringState new_state) override; 66 PeerConnectionInterface::IceGatheringState new_state) override;
67 67
68 // New Ice candidate have been found. 68 // New Ice candidate have been found.
69 void OnIceCandidate(const IceCandidateInterface* candidate) override; 69 void OnIceCandidate(const IceCandidateInterface* candidate) override;
70 70
71 // Called when the first RTP packet is received.
72 void OnFirstMediaPacketReceived() override;
73
71 private: 74 private:
72 __weak RTCPeerConnection* _peerConnection; 75 __weak RTCPeerConnection* _peerConnection;
73 }; 76 };
74 77
75 } // namespace webrtc 78 } // namespace webrtc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698