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

Issue 2742903002: Parse the connection data in SDP (c= line). (Closed)

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

Description

Parse the connection data in SDP (c= line). Extract the remote addresses from SDP c= line on both session level and media level. The media level address will overwrite the session level one if exists. WebRTC is not using c= and this is used for new SDP parsing API. BUG=webrtc:7311 Review-Url: https://codereview.webrtc.org/2742903002 Cr-Commit-Position: refs/heads/master@{#17326} Committed: https://chromium.googlesource.com/external/webrtc/+/38989e593c994b6865f2b2cc496abf59d5925eb8

Patch Set 1 : Parse the c= line. #

Total comments: 21

Patch Set 2 : Remove the session level addr from SessionDescription. Modified the unit tests. #

Total comments: 7

Patch Set 3 : Move the GetDefaultDestination logic to JsepSessionDescription. #

Total comments: 24

Patch Set 4 : Refactoring the tests. Resolve the comments. #

Total comments: 20

Patch Set 5 : Make the unit tests cleaner. #

Total comments: 8

Patch Set 6 : Add a test for candidate removal. Solve the comments. #

Total comments: 1

Patch Set 7 : Monior fix according to the style guide. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+527 lines, -198 lines) Patch
M webrtc/p2p/base/port.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M webrtc/p2p/base/sessiondescription.h View 1 1 chunk +1 line, -1 line 0 comments Download
M webrtc/pc/jsepsessiondescription.cc View 1 2 3 4 5 6 3 chunks +76 lines, -1 line 0 comments Download
M webrtc/pc/jsepsessiondescription_unittest.cc View 1 2 3 4 5 2 chunks +177 lines, -0 lines 0 comments Download
M webrtc/pc/mediasession.h View 1 2 3 2 chunks +11 lines, -0 lines 0 comments Download
M webrtc/pc/webrtcsdp.cc View 1 2 3 4 14 chunks +112 lines, -53 lines 0 comments Download
M webrtc/pc/webrtcsdp_unittest.cc View 1 2 3 4 5 15 chunks +145 lines, -141 lines 0 comments Download
M webrtc/pc/webrtcsession_unittest.cc View 1 2 3 4 chunks +4 lines, -1 line 0 comments Download

Messages

Total messages: 40 (27 generated)
Taylor Brandstetter
https://codereview.webrtc.org/2742903002/diff/40001/webrtc/p2p/base/sessiondescription.h File webrtc/p2p/base/sessiondescription.h (right): https://codereview.webrtc.org/2742903002/diff/40001/webrtc/p2p/base/sessiondescription.h#newcode185 webrtc/p2p/base/sessiondescription.h:185: void set_session_connection_addr( I think it would be simpler to ...
3 years, 9 months ago (2017-03-10 22:41:18 UTC) #8
Zhi Huang
Please take another look. Thanks. https://codereview.webrtc.org/2742903002/diff/40001/webrtc/p2p/base/sessiondescription.h File webrtc/p2p/base/sessiondescription.h (right): https://codereview.webrtc.org/2742903002/diff/40001/webrtc/p2p/base/sessiondescription.h#newcode185 webrtc/p2p/base/sessiondescription.h:185: void set_session_connection_addr( On 2017/03/10 ...
3 years, 9 months ago (2017-03-15 04:05:00 UTC) #13
Taylor Brandstetter
Two things I forgot about in the initial review were the port from the "m=" ...
3 years, 9 months ago (2017-03-15 17:57:20 UTC) #16
Zhi Huang
Please take another look. Thanks. https://codereview.webrtc.org/2742903002/diff/100001/webrtc/pc/mediasession.h File webrtc/pc/mediasession.h (right): https://codereview.webrtc.org/2742903002/diff/100001/webrtc/pc/mediasession.h#newcode314 webrtc/pc/mediasession.h:314: // overwrite the session ...
3 years, 9 months ago (2017-03-16 19:47:26 UTC) #19
Taylor Brandstetter
Just minor comments at this point https://codereview.webrtc.org/2742903002/diff/160001/webrtc/pc/jsepsessiondescription_unittest.cc File webrtc/pc/jsepsessiondescription_unittest.cc (right): https://codereview.webrtc.org/2742903002/diff/160001/webrtc/pc/jsepsessiondescription_unittest.cc#newcode237 webrtc/pc/jsepsessiondescription_unittest.cc:237: TEST_F(JsepSessionDescriptionTest, SerializeSessionDescriptionWithIPv6Only) { ...
3 years, 9 months ago (2017-03-17 00:20:43 UTC) #20
Zhi Huang
Please take another look. Thanks. https://codereview.webrtc.org/2742903002/diff/160001/webrtc/pc/jsepsessiondescription_unittest.cc File webrtc/pc/jsepsessiondescription_unittest.cc (right): https://codereview.webrtc.org/2742903002/diff/160001/webrtc/pc/jsepsessiondescription_unittest.cc#newcode237 webrtc/pc/jsepsessiondescription_unittest.cc:237: TEST_F(JsepSessionDescriptionTest, SerializeSessionDescriptionWithIPv6Only) { On ...
3 years, 9 months ago (2017-03-17 23:42:07 UTC) #24
Taylor Brandstetter
https://codereview.webrtc.org/2742903002/diff/200001/webrtc/pc/jsepsessiondescription_unittest.cc File webrtc/pc/jsepsessiondescription_unittest.cc (right): https://codereview.webrtc.org/2742903002/diff/200001/webrtc/pc/jsepsessiondescription_unittest.cc#newcode235 webrtc/pc/jsepsessiondescription_unittest.cc:235: // TODO(zhihuang): Rename these tests. These are used to ...
3 years, 9 months ago (2017-03-18 00:46:08 UTC) #27
Zhi Huang
Please take another look. Thanks! https://codereview.webrtc.org/2742903002/diff/200001/webrtc/pc/jsepsessiondescription_unittest.cc File webrtc/pc/jsepsessiondescription_unittest.cc (right): https://codereview.webrtc.org/2742903002/diff/200001/webrtc/pc/jsepsessiondescription_unittest.cc#newcode235 webrtc/pc/jsepsessiondescription_unittest.cc:235: // TODO(zhihuang): Rename these ...
3 years, 9 months ago (2017-03-18 19:27:55 UTC) #30
Taylor Brandstetter
lgtm with nits https://codereview.webrtc.org/2742903002/diff/250009/webrtc/pc/jsepsessiondescription.cc File webrtc/pc/jsepsessiondescription.cc (right): https://codereview.webrtc.org/2742903002/diff/250009/webrtc/pc/jsepsessiondescription.cc#newcode71 webrtc/pc/jsepsessiondescription.cc:71: const std::vector<JsepCandidateCollection>& candidate_collections, nit: I believe ...
3 years, 9 months ago (2017-03-20 18:29:58 UTC) #31
Zhi Huang
https://codereview.webrtc.org/2742903002/diff/250009/webrtc/pc/jsepsessiondescription.cc File webrtc/pc/jsepsessiondescription.cc (right): https://codereview.webrtc.org/2742903002/diff/250009/webrtc/pc/jsepsessiondescription.cc#newcode71 webrtc/pc/jsepsessiondescription.cc:71: const std::vector<JsepCandidateCollection>& candidate_collections, On 2017/03/20 18:29:58, Taylor Brandstetter wrote: ...
3 years, 9 months ago (2017-03-21 03:43:12 UTC) #33
Taylor Brandstetter
Recent changes lgtm https://codereview.webrtc.org/2742903002/diff/290001/webrtc/pc/jsepsessiondescription.cc File webrtc/pc/jsepsessiondescription.cc (right): https://codereview.webrtc.org/2742903002/diff/290001/webrtc/pc/jsepsessiondescription.cc#newcode70 webrtc/pc/jsepsessiondescription.cc:70: cricket::ContentDescription* content_description, nit: const parameters appear ...
3 years, 9 months ago (2017-03-21 16:10:31 UTC) #34
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/2742903002/310001
3 years, 9 months ago (2017-03-21 17:29:08 UTC) #37
commit-bot: I haz the power
3 years, 9 months ago (2017-03-21 18:04:58 UTC) #40
Message was sent while issue was closed.
Committed patchset #7 (id:310001) as
https://chromium.googlesource.com/external/webrtc/+/38989e593c994b6865f2b2cc4...

Powered by Google App Engine
This is Rietveld 408576698