Index: webrtc/sdk/objc/Framework/Headers/WebRTC/RTCPeerConnection.h |
diff --git a/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCPeerConnection.h b/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCPeerConnection.h |
index 2ba8661d13a6023f67e4ced22fe21f5a14524459..922ccfa0ee3743dd43c4dffc520aa03cd113016f 100644 |
--- a/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCPeerConnection.h |
+++ b/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCPeerConnection.h |
@@ -98,6 +98,10 @@ RTC_EXPORT |
- (void)peerConnection:(RTCPeerConnection *)peerConnection |
didGenerateIceCandidate:(RTCIceCandidate *)candidate; |
+/** Called when a group of local Ice candidates have been removed. */ |
+- (void)peerConnection:(RTCPeerConnection *)peerConnection |
+ didRemoveIceCandidates:(NSArray<RTCIceCandidate *> *)candidates; |
+ |
/** New data channel has been opened. */ |
- (void)peerConnection:(RTCPeerConnection *)peerConnection |
didOpenDataChannel:(RTCDataChannel *)dataChannel; |
@@ -148,6 +152,9 @@ RTC_EXPORT |
/** Provide a remote candidate to the ICE Agent. */ |
- (void)addIceCandidate:(RTCIceCandidate *)candidate; |
+/** Remove a group of remote candidates from the ICE Agent. */ |
+- (void)removeIceCandidates:(NSArray<RTCIceCandidate *> *)candidates; |
+ |
/** Add a new media stream to be sent on this peer connection. */ |
- (void)addStream:(RTCMediaStream *)stream; |