|
Reland the CL to remove candidates when doing continual gathering
When doing candidate re-gathering in the same ICE generation, signal the remote side to remove its remote candidates.
Fixed the pure virtual method in jsep.h
Original CL: https://codereview.webrtc.org/1648813004
This is required to support the new feature continual gathering, which will benefit the network switch. For clients which are broken by this CL, it is sufficient to add an empty method implementation of PeerConnection.Observer.onIceCandidatesRemoved to get the unchanged behavior. But if the clients would like to support continual gathering, they will need to implement this method by sending the removed candidates to the remote participant and the remote participant calls PeerConnection.removeIceCandidates.
BUG=
R=glaznev@webrtc.org, pthatcher@webrtc.org
Committed: https://crrev.com/7fb69db670c4ce9beb03fad5586dfbafa0cc302a
Cr-Commit-Position: refs/heads/master@{#11985}
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+711 lines, -94 lines) |
Patch |
|
M |
webrtc/api/androidtests/src/org/webrtc/PeerConnectionTest.java
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
webrtc/api/java/jni/peerconnection_jni.cc
|
View
|
|
5 chunks |
+73 lines, -2 lines |
0 comments
|
Download
|
|
M |
webrtc/api/java/src/org/webrtc/PeerConnection.java
|
View
|
|
3 chunks |
+9 lines, -0 lines |
0 comments
|
Download
|
|
M |
webrtc/api/jsep.h
|
View
|
|
2 chunks |
+6 lines, -1 line |
0 comments
|
Download
|
|
M |
webrtc/api/jsepicecandidate.h
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
webrtc/api/jsepicecandidate.cc
|
View
|
|
1 chunk |
+13 lines, -0 lines |
0 comments
|
Download
|
|
M |
webrtc/api/jsepsessiondescription.h
|
View
|
|
3 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
webrtc/api/jsepsessiondescription.cc
|
View
|
|
2 chunks |
+26 lines, -0 lines |
0 comments
|
Download
|
|
M |
webrtc/api/jsepsessiondescription_unittest.cc
|
View
|
|
3 chunks |
+12 lines, -3 lines |
0 comments
|
Download
|
|
M |
webrtc/api/peerconnection.h
|
View
|
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
webrtc/api/peerconnection.cc
|
View
|
|
2 chunks |
+12 lines, -0 lines |
0 comments
|
Download
|
|
M |
webrtc/api/peerconnectioninterface.h
|
View
|
|
2 chunks |
+12 lines, -0 lines |
0 comments
|
Download
|
|
M |
webrtc/api/peerconnectionproxy.h
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
webrtc/api/webrtcsdp.h
|
View
|
|
3 chunks |
+22 lines, -1 line |
0 comments
|
Download
|
|
M |
webrtc/api/webrtcsdp.cc
|
View
|
|
5 chunks |
+25 lines, -6 lines |
0 comments
|
Download
|
|
M |
webrtc/api/webrtcsession.h
|
View
|
|
4 chunks |
+11 lines, -1 line |
0 comments
|
Download
|
|
M |
webrtc/api/webrtcsession.cc
|
View
|
|
6 chunks |
+57 lines, -8 lines |
0 comments
|
Download
|
|
M |
webrtc/api/webrtcsession_unittest.cc
|
View
|
|
7 chunks |
+66 lines, -6 lines |
0 comments
|
Download
|
|
M |
webrtc/examples/androidapp/src/org/appspot/apprtc/AppRTCClient.java
|
View
|
|
2 chunks |
+10 lines, -0 lines |
0 comments
|
Download
|
|
M |
webrtc/examples/androidapp/src/org/appspot/apprtc/CallActivity.java
|
View
|
|
3 chunks |
+27 lines, -2 lines |
0 comments
|
Download
|
|
M |
webrtc/examples/androidapp/src/org/appspot/apprtc/PeerConnectionClient.java
|
View
|
|
3 chunks |
+30 lines, -0 lines |
0 comments
|
Download
|
|
M |
webrtc/examples/androidapp/src/org/appspot/apprtc/WebSocketRTCClient.java
|
View
|
|
4 chunks |
+56 lines, -5 lines |
0 comments
|
Download
|
|
M |
webrtc/examples/androidtests/src/org/appspot/apprtc/test/PeerConnectionClientTest.java
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
webrtc/p2p/base/candidate.h
|
View
|
|
4 chunks |
+18 lines, -4 lines |
0 comments
|
Download
|
|
M |
webrtc/p2p/base/dtlstransportchannel.h
|
View
|
|
2 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
webrtc/p2p/base/dtlstransportchannel.cc
|
View
|
|
2 chunks |
+9 lines, -0 lines |
0 comments
|
Download
|
|
M |
webrtc/p2p/base/faketransportcontroller.h
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
webrtc/p2p/base/p2ptransportchannel.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
webrtc/p2p/base/p2ptransportchannel.cc
|
View
|
|
2 chunks |
+18 lines, -1 line |
0 comments
|
Download
|
|
M |
webrtc/p2p/base/p2ptransportchannel_unittest.cc
|
View
|
|
9 chunks |
+68 lines, -39 lines |
0 comments
|
Download
|
|
M |
webrtc/p2p/base/transport.h
|
View
|
|
2 chunks |
+7 lines, -5 lines |
0 comments
|
Download
|
|
M |
webrtc/p2p/base/transport.cc
|
View
|
|
3 chunks |
+36 lines, -10 lines |
0 comments
|
Download
|
|
M |
webrtc/p2p/base/transportchannelimpl.h
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
webrtc/p2p/base/transportcontroller.h
|
View
|
|
6 chunks |
+9 lines, -0 lines |
0 comments
|
Download
|
|
M |
webrtc/p2p/base/transportcontroller.cc
|
View
|
|
4 chunks |
+45 lines, -0 lines |
0 comments
|
Download
|
Total messages: 25 (13 generated)
|