@Override public void run() { if (peerConnection == null || isError) { return; } // Drain the queued remote candidates if there is any so that // they are processed in the proper order. drainCandidates(); peerConnection.removeIceCandidates(candidates); } });
@Override public void run() { if (peerConnection == null || isError) { return; } // Drain the queued remote candidates if there is any so that // they are processed in the proper order. drainCandidates(); peerConnection.removeIceCandidates(candidates); } });
@Override public void onIceCandidatesRemoved(IceCandidate[] iceCandidates) { for (int i = 0; i < iceCandidates.length; i++) { Log.i(TAG, "onIceCandidatesRemoved: " + iceCandidates[i]); } mPeerConnection.removeIceCandidates(iceCandidates); }