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

Issue 2690943011: Use the same draft version in SDP data channel answers as used in the offer. (Closed)

Created:
3 years, 10 months ago by Zach Stein
Modified:
3 years, 10 months ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Use the same draft version in SDP data channel answers as used in the offer. This change adds a flag, use_sctpmap, to DataContentDescription. The deserialization code sets the flag based on the format of the m= line. There were already unit tests using SDP in the new format, so I just updated them to check use_sctpmap was set as expected. The change to mediasession copies use_sctpmap from the offered DataContentDescription to the answer. I haven't figured out how to test this change yet, but wanted to get feedback before continuing. BUG=chromium:686212 Review-Url: https://codereview.webrtc.org/2690943011 Cr-Commit-Position: refs/heads/master@{#16686} Committed: https://chromium.googlesource.com/external/webrtc/+/4b2e0829caf40dd3e1bd28107b6f54002d73c2c8

Patch Set 1 #

Patch Set 2 : No actual changes from Patch Set 1 (learning the tools). #

Total comments: 12

Patch Set 3 : Fixing up style issues and adding some mediasession tests. #

Total comments: 6

Patch Set 4 : Fix variable names in media session tests and add some comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+183 lines, -77 lines) Patch
M webrtc/pc/mediasession.h View 1 2 2 chunks +11 lines, -3 lines 0 comments Download
M webrtc/pc/mediasession.cc View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M webrtc/pc/mediasession_unittest.cc View 1 2 3 2 chunks +65 lines, -22 lines 0 comments Download
M webrtc/pc/webrtcsdp.cc View 1 2 5 chunks +47 lines, -23 lines 0 comments Download
M webrtc/pc/webrtcsdp_unittest.cc View 1 2 13 chunks +54 lines, -29 lines 0 comments Download

Messages

Total messages: 29 (20 generated)
Zach Stein
Not quite done yet, but I thought this would be a good time for some ...
3 years, 10 months ago (2017-02-16 23:44:17 UTC) #8
Taylor Brandstetter
Looks good; just needs the mediasession test. I'd suggest manually constructing a SessionDescription object representing ...
3 years, 10 months ago (2017-02-17 02:10:57 UTC) #11
Zach Stein
Fixed up the style issues and added mediasession tests. https://codereview.webrtc.org/2690943011/diff/20001/webrtc/pc/mediasession.cc File webrtc/pc/mediasession.cc (right): https://codereview.webrtc.org/2690943011/diff/20001/webrtc/pc/mediasession.cc#newcode1999 webrtc/pc/mediasession.cc:1999: ...
3 years, 10 months ago (2017-02-17 21:29:17 UTC) #12
Taylor Brandstetter
lgtm with minor comments https://codereview.webrtc.org/2690943011/diff/40001/webrtc/pc/mediasession_unittest.cc File webrtc/pc/mediasession_unittest.cc (right): https://codereview.webrtc.org/2690943011/diff/40001/webrtc/pc/mediasession_unittest.cc#newcode972 webrtc/pc/mediasession_unittest.cc:972: TEST_F(MediaSessionDescriptionFactoryTest, TestCreateDataAnswerUsesSctpmap) { Could you ...
3 years, 10 months ago (2017-02-17 22:15:35 UTC) #17
Zach Stein
https://codereview.webrtc.org/2690943011/diff/40001/webrtc/pc/mediasession_unittest.cc File webrtc/pc/mediasession_unittest.cc (right): https://codereview.webrtc.org/2690943011/diff/40001/webrtc/pc/mediasession_unittest.cc#newcode972 webrtc/pc/mediasession_unittest.cc:972: TEST_F(MediaSessionDescriptionFactoryTest, TestCreateDataAnswerUsesSctpmap) { On 2017/02/17 22:15:35, Taylor Brandstetter wrote: ...
3 years, 10 months ago (2017-02-17 22:55:29 UTC) #18
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/2690943011/60001
3 years, 10 months ago (2017-02-17 23:24:00 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: ios32_sim_ios9_dbg on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/ios32_sim_ios9_dbg/builds/1567)
3 years, 10 months ago (2017-02-17 23:43:59 UTC) #24
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/2690943011/60001
3 years, 10 months ago (2017-02-18 03:43:02 UTC) #26
commit-bot: I haz the power
3 years, 10 months ago (2017-02-18 03:48:43 UTC) #29
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/external/webrtc/+/4b2e0829caf40dd3e1bd28107...

Powered by Google App Engine
This is Rietveld 408576698