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

Issue 1532543003: DTLS-SRTP set up is bypassed when the channel has been writable. (Closed)

Created:
5 years ago by guoweis_webrtc
Modified:
5 years ago
Reviewers:
pthatcher1
CC:
webrtc-reviews_webrtc.org
Base URL:
https://chromium.googlesource.com/external/webrtc@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

DTLS-SRTP set up is bypassed when the channel has been writable. This regression was introduced by CL 1505573002 to support remote fingerprint update. What happened is that during PrAnswer, we incorrectly do not apply bundle. However, the channel has become writable at that time. When Answer comes, we still reset the srtp_filter but since the channel has been writable, the new SRTP context has never been applied. We're making sure that we could always apply SRTP context even when channel has been writable. We'll address the issue that bundle should apply even in PrAnswer in a different CL. BUG=568734 Committed: https://crrev.com/4638331fd8857b263bb65f12dbf5e1f7005e1a9a Cr-Commit-Position: refs/heads/master@{#11075}

Patch Set 1 #

Patch Set 2 : Introduce new parameter on whether to update writablity. #

Total comments: 1

Patch Set 3 : Change the code to be easier for future removal of non-muxed. #

Total comments: 4

Patch Set 4 : improve comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+60 lines, -15 lines) Patch
M talk/app/webrtc/peerconnection_unittest.cc View 1 chunk +20 lines, -0 lines 0 comments Download
M talk/session/media/channel.h View 1 2 1 chunk +4 lines, -1 line 0 comments Download
M talk/session/media/channel.cc View 1 2 3 5 chunks +32 lines, -14 lines 0 comments Download
M talk/session/media/srtpfilter.cc View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (6 generated)
guoweis_webrtc
On 2015/12/16 20:36:14, guoweis wrote: > mailto:guoweis@webrtc.org changed reviewers: > + mailto:pthatcher@webrtc.org PTAL.
5 years ago (2015-12-16 20:36:57 UTC) #3
pthatcher1
lgtm, with comment nits https://codereview.webrtc.org/1532543003/diff/2/talk/app/webrtc/peerconnection_unittest.cc File talk/app/webrtc/peerconnection_unittest.cc (right): https://codereview.webrtc.org/1532543003/diff/2/talk/app/webrtc/peerconnection_unittest.cc#newcode1235 talk/app/webrtc/peerconnection_unittest.cc:1235: // This test sets up ...
5 years ago (2015-12-17 23:38:54 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1532543003/50001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1532543003/50001
5 years ago (2015-12-17 23:43:11 UTC) #7
guoweis_webrtc
Landing now. https://codereview.webrtc.org/1532543003/diff/30001/talk/session/media/channel.cc File talk/session/media/channel.cc (right): https://codereview.webrtc.org/1532543003/diff/30001/talk/session/media/channel.cc#newcode269 talk/session/media/channel.cc:269: // DTLS-SRTP again. On 2015/12/17 23:38:54, pthatcher1 ...
5 years ago (2015-12-17 23:43:17 UTC) #8
commit-bot: I haz the power
Committed patchset #4 (id:50001)
5 years ago (2015-12-18 00:46:04 UTC) #10
commit-bot: I haz the power
5 years ago (2015-12-18 00:46:12 UTC) #12
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/4638331fd8857b263bb65f12dbf5e1f7005e1a9a
Cr-Commit-Position: refs/heads/master@{#11075}

Powered by Google App Engine
This is Rietveld 408576698