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

Side by Side Diff: webrtc/sdk/objc/Framework/Headers/WebRTC/RTCPeerConnection.h

Issue 1972483002: Pass around the candidate removals events in IOS clients Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Merge with head Created 4 years, 7 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
« no previous file with comments | « webrtc/sdk/objc/Framework/Classes/RTCPeerConnection+Private.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2015 The WebRTC project authors. All Rights Reserved. 2 * Copyright 2015 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 didChangeIceConnectionState:(RTCIceConnectionState)newState; 91 didChangeIceConnectionState:(RTCIceConnectionState)newState;
92 92
93 /** Called any time the IceGatheringState changes. */ 93 /** Called any time the IceGatheringState changes. */
94 - (void)peerConnection:(RTCPeerConnection *)peerConnection 94 - (void)peerConnection:(RTCPeerConnection *)peerConnection
95 didChangeIceGatheringState:(RTCIceGatheringState)newState; 95 didChangeIceGatheringState:(RTCIceGatheringState)newState;
96 96
97 /** New ice candidate has been found. */ 97 /** New ice candidate has been found. */
98 - (void)peerConnection:(RTCPeerConnection *)peerConnection 98 - (void)peerConnection:(RTCPeerConnection *)peerConnection
99 didGenerateIceCandidate:(RTCIceCandidate *)candidate; 99 didGenerateIceCandidate:(RTCIceCandidate *)candidate;
100 100
101 /** Called when a group of local Ice candidates have been removed. */
102 - (void)peerConnection:(RTCPeerConnection *)peerConnection
103 didRemoveIceCandidates:(NSArray<RTCIceCandidate *> *)candidates;
104
101 /** New data channel has been opened. */ 105 /** New data channel has been opened. */
102 - (void)peerConnection:(RTCPeerConnection *)peerConnection 106 - (void)peerConnection:(RTCPeerConnection *)peerConnection
103 didOpenDataChannel:(RTCDataChannel *)dataChannel; 107 didOpenDataChannel:(RTCDataChannel *)dataChannel;
104 108
105 @end 109 @end
106 110
107 RTC_EXPORT 111 RTC_EXPORT
108 @interface RTCPeerConnection : NSObject 112 @interface RTCPeerConnection : NSObject
109 113
110 /** The object that will be notifed about events such as state changes and 114 /** The object that will be notifed about events such as state changes and
(...skipping 30 matching lines...) Expand all
141 * cannot be changed with this method. 145 * cannot be changed with this method.
142 */ 146 */
143 - (BOOL)setConfiguration:(RTCConfiguration *)configuration; 147 - (BOOL)setConfiguration:(RTCConfiguration *)configuration;
144 148
145 /** Terminate all media and close the transport. */ 149 /** Terminate all media and close the transport. */
146 - (void)close; 150 - (void)close;
147 151
148 /** Provide a remote candidate to the ICE Agent. */ 152 /** Provide a remote candidate to the ICE Agent. */
149 - (void)addIceCandidate:(RTCIceCandidate *)candidate; 153 - (void)addIceCandidate:(RTCIceCandidate *)candidate;
150 154
155 /** Remove a group of remote candidates from the ICE Agent. */
156 - (void)removeIceCandidates:(NSArray<RTCIceCandidate *> *)candidates;
157
151 /** Add a new media stream to be sent on this peer connection. */ 158 /** Add a new media stream to be sent on this peer connection. */
152 - (void)addStream:(RTCMediaStream *)stream; 159 - (void)addStream:(RTCMediaStream *)stream;
153 160
154 /** Remove the given media stream from this peer connection. */ 161 /** Remove the given media stream from this peer connection. */
155 - (void)removeStream:(RTCMediaStream *)stream; 162 - (void)removeStream:(RTCMediaStream *)stream;
156 163
157 /** Generate an SDP offer. */ 164 /** Generate an SDP offer. */
158 - (void)offerForConstraints:(RTCMediaConstraints *)constraints 165 - (void)offerForConstraints:(RTCMediaConstraints *)constraints
159 completionHandler:(nullable void (^) 166 completionHandler:(nullable void (^)
160 (RTCSessionDescription * _Nullable sdp, 167 (RTCSessionDescription * _Nullable sdp,
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 */ 210 */
204 - (void)statsForTrack: 211 - (void)statsForTrack:
205 (nullable RTCMediaStreamTrack *)mediaStreamTrack 212 (nullable RTCMediaStreamTrack *)mediaStreamTrack
206 statsOutputLevel:(RTCStatsOutputLevel)statsOutputLevel 213 statsOutputLevel:(RTCStatsOutputLevel)statsOutputLevel
207 completionHandler: 214 completionHandler:
208 (nullable void (^)(NSArray<RTCStatsReport *> *stats))completionHandler; 215 (nullable void (^)(NSArray<RTCStatsReport *> *stats))completionHandler;
209 216
210 @end 217 @end
211 218
212 NS_ASSUME_NONNULL_END 219 NS_ASSUME_NONNULL_END
OLDNEW
« no previous file with comments | « webrtc/sdk/objc/Framework/Classes/RTCPeerConnection+Private.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698