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

Issue 2537343003: Removing "crypto_required" from MediaContentDescription. (Closed)

Created:
4 years ago by Taylor Brandstetter
Modified:
4 years ago
Reviewers:
pthatcher1
CC:
webrtc-reviews_webrtc.org, the sun, tterriberry_mozilla.com
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Removing "crypto_required" from MediaContentDescription. "Crypto required" is a property of the PeerConnection of construction time; it has nothing to do with SDP. So I'm moving it out of MediaContentDescription and putting it in the BaseChannel constructor instead. This is more intuitive, and provides the added assurance that "secure_required_" can't be flipped from "true" to "false". BUG=None Committed: https://crrev.com/7af91ddd6bda4f411d0025c5d5a2d32be540a34c Cr-Commit-Position: refs/heads/master@{#15579}

Patch Set 1 #

Total comments: 20

Patch Set 2 : Responding to comments (mostly just renaming) #

Total comments: 10

Patch Set 3 : Addressing comments. #

Patch Set 4 : Adding overloads of ChannelManager methods for backwards compat #

Patch Set 5 : Reverting last patchset. Nothing should be using ChannelManager directly any more. #

Patch Set 6 : Merge with master and clean up CreateDataChannel #

Unified diffs Side-by-side diffs Delta from patch set Stats (+184 lines, -189 lines) Patch
M webrtc/api/rtcstatscollector_unittest.cc View 1 2 3 4 5 6 chunks +11 lines, -6 lines 0 comments Download
M webrtc/api/rtpsenderreceiver_unittest.cc View 1 1 chunk +4 lines, -2 lines 0 comments Download
M webrtc/api/statscollector_unittest.cc View 1 2 3 4 5 17 chunks +53 lines, -44 lines 0 comments Download
M webrtc/api/webrtcsession.h View 1 2 chunks +4 lines, -1 line 0 comments Download
M webrtc/api/webrtcsession.cc View 1 2 3 4 5 8 chunks +13 lines, -41 lines 0 comments Download
M webrtc/api/webrtcsession_unittest.cc View 1 2 2 chunks +4 lines, -4 lines 0 comments Download
M webrtc/p2p/base/transportdescription.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M webrtc/pc/channel.h View 1 2 8 chunks +14 lines, -10 lines 0 comments Download
M webrtc/pc/channel.cc View 1 2 3 4 5 9 chunks +18 lines, -14 lines 0 comments Download
M webrtc/pc/channel_unittest.cc View 1 2 3 4 5 3 chunks +9 lines, -12 lines 0 comments Download
M webrtc/pc/channelmanager.h View 1 2 3 4 5 4 chunks +9 lines, -8 lines 0 comments Download
M webrtc/pc/channelmanager.cc View 1 2 3 4 5 8 chunks +21 lines, -23 lines 0 comments Download
M webrtc/pc/channelmanager_unittest.cc View 1 2 3 4 5 3 chunks +19 lines, -14 lines 0 comments Download
M webrtc/pc/mediasession.cc View 3 chunks +2 lines, -6 lines 0 comments Download
M webrtc/pc/mediasession_unittest.cc View 1 chunk +1 line, -4 lines 0 comments Download

Messages

Total messages: 15 (6 generated)
Taylor Brandstetter
Peter, could you take a look? Should be pretty simple. I think "crypto_required" must be ...
4 years ago (2016-11-30 01:18:31 UTC) #2
pthatcher1
Good find of something that can be removed. But I think we can remove even ...
4 years ago (2016-11-30 19:16:17 UTC) #3
Taylor Brandstetter
https://codereview.webrtc.org/2537343003/diff/1/webrtc/api/rtcstatscollector_unittest.cc File webrtc/api/rtcstatscollector_unittest.cc (right): https://codereview.webrtc.org/2537343003/diff/1/webrtc/api/rtcstatscollector_unittest.cc#newcode104 webrtc/api/rtcstatscollector_unittest.cc:104: const bool kDefaultUseRtcpChannel = false; On 2016/11/30 19:16:17, pthatcher1 ...
4 years ago (2016-12-01 02:41:34 UTC) #4
pthatcher1
lgtm w/nits https://codereview.webrtc.org/2537343003/diff/20001/webrtc/api/rtcstatscollector_unittest.cc File webrtc/api/rtcstatscollector_unittest.cc (right): https://codereview.webrtc.org/2537343003/diff/20001/webrtc/api/rtcstatscollector_unittest.cc#newcode105 webrtc/api/rtcstatscollector_unittest.cc:105: const bool kDefaultSecureRequired = true; kDefaultSrtpRequired? https://codereview.webrtc.org/2537343003/diff/20001/webrtc/api/statscollector_unittest.cc ...
4 years ago (2016-12-01 22:57:12 UTC) #5
Taylor Brandstetter
I just realized, adding a new parameter to CreateVoiceChannel etc. is going to break applications ...
4 years ago (2016-12-02 00:42:32 UTC) #6
pthatcher1
lgtm
4 years ago (2016-12-05 23:37:57 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2537343003/100001
4 years ago (2016-12-13 18:50:56 UTC) #10
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years ago (2016-12-13 19:29:16 UTC) #13
commit-bot: I haz the power
4 years ago (2016-12-13 19:29:24 UTC) #15
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/7af91ddd6bda4f411d0025c5d5a2d32be540a34c
Cr-Commit-Position: refs/heads/master@{#15579}

Powered by Google App Engine
This is Rietveld 408576698