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

Issue 1406803004: Fixing some issues with the direction attribute of m-lines in offers. (Closed)

Created:
5 years, 2 months ago by Taylor Brandstetter
Modified:
5 years ago
Reviewers:
pthatcher, pthatcher1
CC:
webrtc-reviews_webrtc.org, interface-changes_webrtc.org, rwolff_gocast.it, yujie_mao (webrtc), Andrew MacDonald, tterriberry_mozilla.com, qiang.lu, niklas.enbom, peah-webrtc
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Fixing some issues with the direction attribute of m-lines in offers. By default, we'll now offer to receive if already receiving (meaning that the last remote description contained a track). Also, m-lines that are neither receiving nor sending are now correctly marked "inactive". Also moved some logic relating to default tracks out of webrtcsdp.cc, such that now the direction seen by upper layers will always be consistent with the consumed/produced SDP. BUG=528089 Committed: https://crrev.com/c80741f8957b537e968397ac54ff5b5df8a2c318 Cr-Commit-Position: refs/heads/master@{#10376}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Fixing comment. #

Total comments: 6

Patch Set 3 : Making "ConvertRtcOptionsForOffer" thinner. #

Patch Set 4 : Getting rid of default arg. #

Patch Set 5 : Fixing WebRtcSession test. #

Patch Set 6 : Fixing a comment. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+216 lines, -112 lines) Patch
M talk/app/webrtc/peerconnection.h View 1 2 3 4 1 chunk +0 lines, -2 lines 0 comments Download
M talk/app/webrtc/peerconnection.cc View 1 2 3 4 6 chunks +31 lines, -26 lines 0 comments Download
M talk/app/webrtc/peerconnectioninterface_unittest.cc View 1 2 3 4 5 27 chunks +116 lines, -50 lines 0 comments Download
M talk/app/webrtc/webrtcsdp.cc View 8 chunks +9 lines, -26 lines 0 comments Download
M talk/app/webrtc/webrtcsdp_unittest.cc View 2 chunks +4 lines, -0 lines 0 comments Download
M talk/app/webrtc/webrtcsession_unittest.cc View 1 2 3 4 2 chunks +22 lines, -2 lines 0 comments Download
M talk/session/media/mediasession.cc View 3 chunks +29 lines, -6 lines 1 comment Download
M webrtc/p2p/base/sessiondescription.h View 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (6 generated)
Taylor Brandstetter
https://codereview.webrtc.org/1406803004/diff/1/talk/app/webrtc/webrtcsdp.cc File talk/app/webrtc/webrtcsdp.cc (left): https://codereview.webrtc.org/1406803004/diff/1/talk/app/webrtc/webrtcsdp.cc#oldcode2250 talk/app/webrtc/webrtcsdp.cc:2250: } This logic is replaced by the "msid_supported" check ...
5 years, 2 months ago (2015-10-14 23:24:22 UTC) #2
pthatcher1
https://codereview.webrtc.org/1406803004/diff/20001/talk/app/webrtc/peerconnection.cc File talk/app/webrtc/peerconnection.cc (right): https://codereview.webrtc.org/1406803004/diff/20001/talk/app/webrtc/peerconnection.cc#newcode1052 talk/app/webrtc/peerconnection.cc:1052: desc->streams().empty() && !remote_desc->msid_supported(); Can you put this one first? ...
5 years, 2 months ago (2015-10-15 06:02:03 UTC) #3
Taylor Brandstetter
https://codereview.webrtc.org/1406803004/diff/20001/talk/app/webrtc/peerconnection.cc File talk/app/webrtc/peerconnection.cc (right): https://codereview.webrtc.org/1406803004/diff/20001/talk/app/webrtc/peerconnection.cc#newcode1052 talk/app/webrtc/peerconnection.cc:1052: desc->streams().empty() && !remote_desc->msid_supported(); On 2015/10/15 06:02:03, pthatcher1 wrote: > ...
5 years, 2 months ago (2015-10-15 18:23:36 UTC) #4
pthatcher1
lgtm
5 years, 2 months ago (2015-10-20 18:22:58 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1406803004/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1406803004/80001
5 years, 2 months ago (2015-10-20 20:12:03 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_rel on tryserver.webrtc (JOB_TIMED_OUT, no build URL) android_dbg on ...
5 years, 2 months ago (2015-10-20 22:12:21 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1406803004/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1406803004/100001
5 years, 2 months ago (2015-10-22 20:10:53 UTC) #12
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 2 months ago (2015-10-22 20:14:49 UTC) #13
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/c80741f8957b537e968397ac54ff5b5df8a2c318 Cr-Commit-Position: refs/heads/master@{#10376}
5 years, 2 months ago (2015-10-22 20:15:03 UTC) #14
pthatcher
5 years ago (2015-11-23 18:00:52 UTC) #16
Message was sent while issue was closed.
https://codereview.webrtc.org/1406803004/diff/100001/talk/session/media/media...
File talk/session/media/mediasession.cc (right):

https://codereview.webrtc.org/1406803004/diff/100001/talk/session/media/media...
talk/session/media/mediasession.cc:1044: : MD_SENDRECV);
It looks like this breaks data channels.  If we're answering data channels, we
should probably always go to sendrecv/sendonly.  

This was reported for C++ data channels (native/mobile apps), but we should see
if this affects Chrome as well.  If it is, we'll need to merge a fix ASAP. 

https://bugs.chromium.org/p/webrtc/issues/detail?id=5228#c5

Powered by Google App Engine
This is Rietveld 408576698