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

Issue 1972493002: Do not create a temporary transport channel when using max-bundle (Closed)

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

Description

Do not create a temporary transport channel when using max-bundle With this change, when max-bundle and rtcp-mux are both enabled, we no longer create and destroy a temporary transport channel when a media channel gets added. Instead, the media channel uses the correct bundled transport channel from the start. This fixes a bug where adding a media type would cause the ICE state to briefly become Disconnected and then immediately recover. The temporary channel was created in a non-writable state, which caused the TransportController to declare the ICE state to be Disconnected (as not all transport channels were writable). Right after creation, the temporary channel was then destroyed and the ICE state went back to the correct one. BUG=webrtc:5856 Committed: https://crrev.com/6c87a67b63cee30e007a64b8f1de0aede93ea0da Cr-Commit-Position: refs/heads/master@{#12781}

Patch Set 1 #

Total comments: 16

Patch Set 2 : Code review feedback #

Patch Set 3 : Rebased on top of the network thread change #

Total comments: 4

Patch Set 4 : Code review feedback #

Total comments: 1

Patch Set 5 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+204 lines, -91 lines) Patch
M webrtc/api/webrtcsession.h View 1 2 3 4 2 chunks +12 lines, -3 lines 0 comments Download
M webrtc/api/webrtcsession.cc View 1 2 3 4 6 chunks +67 lines, -40 lines 0 comments Download
M webrtc/api/webrtcsession_unittest.cc View 1 2 3 4 3 chunks +57 lines, -0 lines 0 comments Download
M webrtc/pc/channel.h View 1 2 3 4 5 chunks +5 lines, -5 lines 0 comments Download
M webrtc/pc/channel.cc View 1 2 3 4 5 chunks +13 lines, -10 lines 0 comments Download
M webrtc/pc/channel_unittest.cc View 1 2 3 4 3 chunks +3 lines, -3 lines 0 comments Download
M webrtc/pc/channelmanager.h View 1 2 3 4 chunks +6 lines, -0 lines 0 comments Download
M webrtc/pc/channelmanager.cc View 1 2 3 6 chunks +14 lines, -6 lines 0 comments Download
M webrtc/pc/channelmanager_unittest.cc View 1 2 3 3 chunks +27 lines, -24 lines 0 comments Download

Messages

Total messages: 33 (8 generated)
skvlad
4 years, 7 months ago (2016-05-11 02:39:11 UTC) #2
pthatcher1
https://codereview.webrtc.org/1972493002/diff/1/webrtc/api/webrtcsession.cc File webrtc/api/webrtcsession.cc (right): https://codereview.webrtc.org/1972493002/diff/1/webrtc/api/webrtcsession.cc#newcode1731 webrtc/api/webrtcsession.cc:1731: const std::string& WebRtcSession::GetTransportForChannel( Why not, instead, return a const ...
4 years, 7 months ago (2016-05-11 06:20:39 UTC) #3
Taylor Brandstetter
https://codereview.webrtc.org/1972493002/diff/1/webrtc/api/webrtcsession.cc File webrtc/api/webrtcsession.cc (right): https://codereview.webrtc.org/1972493002/diff/1/webrtc/api/webrtcsession.cc#newcode1755 webrtc/api/webrtcsession.cc:1755: if (bundle_policy_ == PeerConnectionInterface::kBundlePolicyMaxBundle) { On 2016/05/11 06:20:39, pthatcher1 ...
4 years, 7 months ago (2016-05-11 15:32:23 UTC) #4
honghaiz3
On 2016/05/11 15:32:23, Taylor Brandstetter wrote: > https://codereview.webrtc.org/1972493002/diff/1/webrtc/api/webrtcsession.cc > File webrtc/api/webrtcsession.cc (right): > > https://codereview.webrtc.org/1972493002/diff/1/webrtc/api/webrtcsession.cc#newcode1755 ...
4 years, 7 months ago (2016-05-11 16:42:11 UTC) #5
Taylor Brandstetter
On 2016/05/11 16:42:11, honghaiz3 wrote: > On 2016/05/11 15:32:23, Taylor Brandstetter wrote: > > https://codereview.webrtc.org/1972493002/diff/1/webrtc/api/webrtcsession.cc ...
4 years, 7 months ago (2016-05-11 19:54:47 UTC) #6
pthatcher1
On 2016/05/11 19:54:47, Taylor Brandstetter wrote: > On 2016/05/11 16:42:11, honghaiz3 wrote: > > On ...
4 years, 7 months ago (2016-05-11 22:23:20 UTC) #7
pthatcher1
https://codereview.webrtc.org/1972493002/diff/1/webrtc/api/webrtcsession.cc File webrtc/api/webrtcsession.cc (right): https://codereview.webrtc.org/1972493002/diff/1/webrtc/api/webrtcsession.cc#newcode1755 webrtc/api/webrtcsession.cc:1755: if (bundle_policy_ == PeerConnectionInterface::kBundlePolicyMaxBundle) { On 2016/05/11 15:32:23, Taylor ...
4 years, 7 months ago (2016-05-11 22:23:47 UTC) #8
skvlad
https://codereview.webrtc.org/1972493002/diff/1/webrtc/api/webrtcsession.cc File webrtc/api/webrtcsession.cc (right): https://codereview.webrtc.org/1972493002/diff/1/webrtc/api/webrtcsession.cc#newcode1751 webrtc/api/webrtcsession.cc:1751: // TODO(mallinath) - Add a correct error code if ...
4 years, 7 months ago (2016-05-11 22:24:20 UTC) #9
pthatcher1
On 2016/05/11 22:23:47, pthatcher1 wrote: > https://codereview.webrtc.org/1972493002/diff/1/webrtc/api/webrtcsession.cc > File webrtc/api/webrtcsession.cc (right): > > https://codereview.webrtc.org/1972493002/diff/1/webrtc/api/webrtcsession.cc#newcode1755 > ...
4 years, 7 months ago (2016-05-11 22:25:47 UTC) #10
skvlad
On 2016/05/11 22:25:47, pthatcher1 wrote: > Sorry, I should have been more clear. Long-term (as ...
4 years, 7 months ago (2016-05-11 22:34:25 UTC) #11
Taylor Brandstetter
https://codereview.webrtc.org/1972493002/diff/1/webrtc/api/webrtcsession.cc File webrtc/api/webrtcsession.cc (right): https://codereview.webrtc.org/1972493002/diff/1/webrtc/api/webrtcsession.cc#newcode1755 webrtc/api/webrtcsession.cc:1755: if (bundle_policy_ == PeerConnectionInterface::kBundlePolicyMaxBundle) { On 2016/05/11 22:23:47, pthatcher1 ...
4 years, 7 months ago (2016-05-11 22:35:55 UTC) #12
pthatcher1
On 2016/05/11 22:35:55, Taylor Brandstetter wrote: > https://codereview.webrtc.org/1972493002/diff/1/webrtc/api/webrtcsession.cc > File webrtc/api/webrtcsession.cc (right): > > https://codereview.webrtc.org/1972493002/diff/1/webrtc/api/webrtcsession.cc#newcode1755 ...
4 years, 7 months ago (2016-05-12 03:47:50 UTC) #13
pthatcher1
On 2016/05/11 22:34:25, skvlad wrote: > On 2016/05/11 22:25:47, pthatcher1 wrote: > > Sorry, I ...
4 years, 7 months ago (2016-05-12 03:50:24 UTC) #14
pthatcher1
I'm happy with this as long as you make two minor readability/comment improvements. https://codereview.webrtc.org/1972493002/diff/40001/webrtc/api/webrtcsession.cc File ...
4 years, 7 months ago (2016-05-12 03:56:52 UTC) #15
skvlad
https://codereview.webrtc.org/1972493002/diff/40001/webrtc/api/webrtcsession.cc File webrtc/api/webrtcsession.cc (right): https://codereview.webrtc.org/1972493002/diff/40001/webrtc/api/webrtcsession.cc#newcode1794 webrtc/api/webrtcsession.cc:1794: rtcp_mux_policy_ == PeerConnectionInterface::kRtcpMuxPolicyRequire; On 2016/05/12 03:56:52, pthatcher1 wrote: > ...
4 years, 7 months ago (2016-05-13 19:17:51 UTC) #16
skvlad
Ping. Please take a look, the bug is targeted for Chrome M52 which branches out ...
4 years, 7 months ago (2016-05-16 18:43:32 UTC) #17
pthatcher1
lgtm
4 years, 7 months ago (2016-05-16 19:59:06 UTC) #18
Taylor Brandstetter
lgtm https://codereview.webrtc.org/1972493002/diff/60001/webrtc/api/webrtcsession_unittest.cc File webrtc/api/webrtcsession_unittest.cc (right): https://codereview.webrtc.org/1972493002/diff/60001/webrtc/api/webrtcsession_unittest.cc#newcode3291 webrtc/api/webrtcsession_unittest.cc:3291: offer->ToString(&sdp); nit: I know the old tests don't ...
4 years, 7 months ago (2016-05-16 19:59:48 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1972493002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1972493002/60001
4 years, 7 months ago (2016-05-16 20:01:30 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/ios_dbg/builds/15045) ios_rel on tryserver.webrtc (JOB_FAILED, ...
4 years, 7 months ago (2016-05-16 20:02:21 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1972493002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1972493002/80001
4 years, 7 months ago (2016-05-17 20:05:51 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_rel on tryserver.webrtc (JOB_TIMED_OUT, no build URL)
4 years, 7 months ago (2016-05-17 22:06:17 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1972493002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1972493002/80001
4 years, 7 months ago (2016-05-17 22:25:06 UTC) #30
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 7 months ago (2016-05-18 00:49:58 UTC) #31
commit-bot: I haz the power
4 years, 7 months ago (2016-05-18 00:50:08 UTC) #33
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/6c87a67b63cee30e007a64b8f1de0aede93ea0da
Cr-Commit-Position: refs/heads/master@{#12781}

Powered by Google App Engine
This is Rietveld 408576698