Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(707)

Issue 1788703003: Reland the CL to remove candidates when doing continual gathering (Closed)

Created:
4 years, 9 months ago by honghaiz3
Modified:
4 years, 9 months ago
Reviewers:
AlexG, pthatcher1
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Base URL:
https://chromium.googlesource.com/external/webrtc@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

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}

Patch Set 1 : #

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

Messages

Total messages: 25 (13 generated)
honghaiz3
PTAL.
4 years, 9 months ago (2016-03-11 22:45:49 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1788703003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1788703003/1
4 years, 9 months ago (2016-03-11 22:46:38 UTC) #5
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_baremetal on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/linux_baremetal/builds/9614) linux_compile_dbg on ...
4 years, 9 months ago (2016-03-11 22:48:48 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1788703003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1788703003/20001
4 years, 9 months ago (2016-03-11 23:23:04 UTC) #10
pthatcher1
lgtm
4 years, 9 months ago (2016-03-12 01:24:14 UTC) #12
AlexG
lgtm
4 years, 9 months ago (2016-03-12 01:49:58 UTC) #13
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_drmemory_light on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/win_drmemory_light/builds/10409)
4 years, 9 months ago (2016-03-12 02:19:43 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1788703003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1788703003/20001
4 years, 9 months ago (2016-03-14 18:22:14 UTC) #17
honghaiz3
Committed patchset #1 (id:20001) manually as 7fb69db670c4ce9beb03fad5586dfbafa0cc302a (presubmit successful).
4 years, 9 months ago (2016-03-14 18:59:40 UTC) #19
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/7fb69db670c4ce9beb03fad5586dfbafa0cc302a Cr-Commit-Position: refs/heads/master@{#11985}
4 years, 9 months ago (2016-03-14 18:59:43 UTC) #21
kjellander_webrtc
On 2016/03/14 18:59:43, commit-bot: I haz the power wrote: > Patchset 1 (id:??) landed as ...
4 years, 9 months ago (2016-03-21 12:09:20 UTC) #23
honghaiz3
4 years, 9 months ago (2016-03-21 16:58:48 UTC) #24
Message was sent while issue was closed.
On 2016/03/21 12:09:20, kjellander (webrtc) wrote:
> On 2016/03/14 18:59:43, commit-bot: I haz the power wrote:
> > Patchset 1 (id:??) landed as
> > https://crrev.com/7fb69db670c4ce9beb03fad5586dfbafa0cc302a
> > Cr-Commit-Position: refs/heads/master@{#11985}
> 
> I added a link in the CL description to the original CL (but since it's too
late
> to get it into the Git commit message - please try to do that next time).
> Also: I would prefer some more detail on what's happening. Some of it I could
> find out by reading in the previous CL
> (https://codereview.webrtc.org/1648813004).
> 
> It's not clear to me if this is a bugfix or just added nice-to-have
> functionality. Clients implementing the Java interface breaks with this CL and
> it would be nice if they could know right away what to do. Would adding an
empty
> method implementation for PeerConnection.Observer.onIceCandidatesRemoved be
> sufficient to get unchanged behavior?
Thanks for adding the link. I should have done that. 

This is needed for a new functionality for supporting continual gathering, which
is a nice-to-have and important feature for network handover.

Yes, it would be sufficient to get unchanged behavior to add an empty method
like what you said. 
Will update the description.

Powered by Google App Engine
This is Rietveld 408576698