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

Issue 2743003004: Add skeleton webrtc::SessionDescription and webrtc::MediaDescription classes. (Closed)

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

Description

Add skeleton webrtc::SessionDescription and webrtc::MediaDescription classes. BUG=webrtc:7311 Review-Url: https://codereview.webrtc.org/2743003004 Cr-Commit-Position: refs/heads/master@{#17181} Committed: https://chromium.googlesource.com/external/webrtc/+/55adc0e1a5f39f7b4bb706c1cbc688e75c9754ae

Patch Set 1 : Take over Zach's work. Fix the build and address some comments. #

Total comments: 15

Patch Set 2 : CR comments. #

Total comments: 3

Patch Set 3 : Make the comments public. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+171 lines, -0 lines) Patch
M webrtc/api/BUILD.gn View 4 chunks +11 lines, -0 lines 0 comments Download
A webrtc/api/ortc/mediadescription.h View 1 2 1 chunk +41 lines, -0 lines 0 comments Download
A webrtc/api/ortc/mediadescription.cc View 1 chunk +13 lines, -0 lines 0 comments Download
A webrtc/api/ortc/mediadescription_unittest.cc View 1 chunk +22 lines, -0 lines 0 comments Download
A webrtc/api/ortc/sessiondescription.h View 1 2 1 chunk +48 lines, -0 lines 2 comments Download
A webrtc/api/ortc/sessiondescription.cc View 1 chunk +13 lines, -0 lines 0 comments Download
A webrtc/api/ortc/sessiondescription_unittest.cc View 1 chunk +23 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (9 generated)
Zhi Huang
Please take a look.
3 years, 9 months ago (2017-03-10 23:50:56 UTC) #6
Taylor Brandstetter
https://codereview.webrtc.org/2743003004/diff/1/webrtc/api/ortc/mediadescription.h File webrtc/api/ortc/mediadescription.h (right): https://codereview.webrtc.org/2743003004/diff/1/webrtc/api/ortc/mediadescription.h#newcode20 webrtc/api/ortc/mediadescription.h:20: // A structured representation of a media description within ...
3 years, 9 months ago (2017-03-11 00:24:29 UTC) #7
Zhi Huang
Please take another look. Thanks. https://codereview.webrtc.org/2743003004/diff/1/webrtc/api/ortc/mediadescription.h File webrtc/api/ortc/mediadescription.h (right): https://codereview.webrtc.org/2743003004/diff/1/webrtc/api/ortc/mediadescription.h#newcode20 webrtc/api/ortc/mediadescription.h:20: // A structured representation ...
3 years, 9 months ago (2017-03-11 01:20:39 UTC) #8
Taylor Brandstetter
lgtm with minor comments https://codereview.webrtc.org/2743003004/diff/1/webrtc/api/ortc/mediadescription.h File webrtc/api/ortc/mediadescription.h (right): https://codereview.webrtc.org/2743003004/diff/1/webrtc/api/ortc/mediadescription.h#newcode28 webrtc/api/ortc/mediadescription.h:28: void set_mid(const rtc::Optional<std::string>& mid) { ...
3 years, 9 months ago (2017-03-11 01:37:07 UTC) #9
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/2743003004/40001
3 years, 9 months ago (2017-03-11 02:14:02 UTC) #12
Taylor Brandstetter
https://codereview.webrtc.org/2743003004/diff/40001/webrtc/api/ortc/sessiondescription.h File webrtc/api/ortc/sessiondescription.h (right): https://codereview.webrtc.org/2743003004/diff/40001/webrtc/api/ortc/sessiondescription.h#newcode31 webrtc/api/ortc/sessiondescription.h:31: const std::string& session_id() const { return session_id_; } Something ...
3 years, 9 months ago (2017-03-11 02:19:57 UTC) #13
Taylor Brandstetter
https://codereview.webrtc.org/2743003004/diff/40001/webrtc/api/ortc/sessiondescription.h File webrtc/api/ortc/sessiondescription.h (right): https://codereview.webrtc.org/2743003004/diff/40001/webrtc/api/ortc/sessiondescription.h#newcode31 webrtc/api/ortc/sessiondescription.h:31: const std::string& session_id() const { return session_id_; } On ...
3 years, 9 months ago (2017-03-11 02:20:59 UTC) #14
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://chromium.googlesource.com/external/webrtc/+/55adc0e1a5f39f7b4bb706c1cbc688e75c9754ae
3 years, 9 months ago (2017-03-11 02:33:50 UTC) #17
Zhi Huang
3 years, 9 months ago (2017-03-13 03:36:24 UTC) #18
Message was sent while issue was closed.
On 2017/03/11 02:20:59, Taylor Brandstetter wrote:
>
https://codereview.webrtc.org/2743003004/diff/40001/webrtc/api/ortc/sessionde...
> File webrtc/api/ortc/sessiondescription.h (right):
> 
>
https://codereview.webrtc.org/2743003004/diff/40001/webrtc/api/ortc/sessionde...
> webrtc/api/ortc/sessiondescription.h:31: const std::string& session_id() const
{
> return session_id_; }
> On 2017/03/11 02:19:56, Taylor Brandstetter wrote:
> > Something I realized a little late: The session id is guaranteed to be
> > representable as a 64-bit unsigned integer. So we should change this to an
> > int64_t. It would be reasonable for an application to want to make integer
> > comparisons, since JSEP says the ID should be incremented by one for each
new
> > offer.
> 
> Meant to say "64-bit signed integer".

I'll have a follow up cl for this.

Powered by Google App Engine
This is Rietveld 408576698