We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Android项目里有个bug,如下代码: @OverRide public void onIceCandidatesRemoved(IceCandidate[] iceCandidates) { for (int i = 0; i < iceCandidates.length; i++) { Log.i(TAG, "onIceCandidatesRemoved: " + iceCandidates[i]); } mPeerConnection.removeIceCandidates(iceCandidates); }
不应在此处调用PeerConnection的removeIceCandidates函数,应该发送remove消息给对方,对方收到该消息后调用PeerConnection的removeIceCandidates。并且同时应在本端接收对方的remove消息,并调用PeerConnection的removeIceCandidates。
不过只是小问题,因为即使不告诉对方自己删除的ice candidates,也仍能照常连通,只是可能影响性能。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Android项目里有个bug,如下代码:
@OverRide
public void onIceCandidatesRemoved(IceCandidate[] iceCandidates) {
for (int i = 0; i < iceCandidates.length; i++) {
Log.i(TAG, "onIceCandidatesRemoved: " + iceCandidates[i]);
}
mPeerConnection.removeIceCandidates(iceCandidates);
}
不应在此处调用PeerConnection的removeIceCandidates函数,应该发送remove消息给对方,对方收到该消息后调用PeerConnection的removeIceCandidates。并且同时应在本端接收对方的remove消息,并调用PeerConnection的removeIceCandidates。
不过只是小问题,因为即使不告诉对方自己删除的ice candidates,也仍能照常连通,只是可能影响性能。
The text was updated successfully, but these errors were encountered: