Index: webrtc/api/java/src/org/webrtc/PeerConnection.java |
diff --git a/webrtc/api/java/src/org/webrtc/PeerConnection.java b/webrtc/api/java/src/org/webrtc/PeerConnection.java |
index 5f526196ee5a4ec6a2647bda0644e56c0a16c5b3..3c9fa0ee21f248a87fc4f3e0ac860be6e733e8fc 100644 |
--- a/webrtc/api/java/src/org/webrtc/PeerConnection.java |
+++ b/webrtc/api/java/src/org/webrtc/PeerConnection.java |
@@ -57,9 +57,6 @@ |
/** Triggered when a new ICE candidate has been found. */ |
public void onIceCandidate(IceCandidate candidate); |
- |
- /** Triggered when some ICE candidates have been removed. */ |
- public void onIceCandidatesRemoved(IceCandidate[] candidates); |
/** Triggered when media is received on a new stream from remote peer. */ |
public void onAddStream(MediaStream stream); |
@@ -196,10 +193,6 @@ |
candidate.sdpMid, candidate.sdpMLineIndex, candidate.sdp); |
} |
- public boolean removeIceCandidates(final IceCandidate[] candidates) { |
- return nativeRemoveIceCandidates(candidates); |
- } |
- |
public boolean addStream(MediaStream stream) { |
boolean ret = nativeAddLocalStream(stream.nativeStream); |
if (!ret) { |
@@ -280,8 +273,6 @@ |
private native boolean nativeAddIceCandidate( |
String sdpMid, int sdpMLineIndex, String iceCandidateSdp); |
- private native boolean nativeRemoveIceCandidates(final IceCandidate[] candidates); |
- |
private native boolean nativeAddLocalStream(long nativeStream); |
private native void nativeRemoveLocalStream(long nativeStream); |