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 0db84ac2f965d1769e4b9aa8981f87392242ef3e..e27ae20fe6c9b65c25104c44182183fcd438e7da 100644 |
--- a/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCPeerConnection.h |
+++ b/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCPeerConnection.h |
@@ -97,6 +97,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; |
@@ -141,6 +145,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)removeRemoteIceCandidates:(NSArray<RTCIceCandidate *> *)candidates; |
+ |
/** Add a new media stream to be sent on this peer connection. */ |
- (void)addStream:(RTCMediaStream *)stream; |