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

Issue 2995463002: Ignore "b=AS:-1" instead of treating as a hard error. (Closed)

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

Description

Ignore "b=AS:-1" instead of treating as a hard error. Follow up to https://codereview.webrtc.org/2989243002/. It turns out that "b=AS:-1" was being used to mean "no bandwidth limit", even though just omitting "b=AS" completely will do that. So we should treat this as a soft error for now, and give applications time to transition to doing the standard thing. BUG=chromium:675361 Review-Url: https://codereview.webrtc.org/2995463002 Cr-Commit-Position: refs/heads/master@{#19244} Committed: https://chromium.googlesource.com/external/webrtc/+/3e8016e1d51e6db21a51b7fcf308b8904aee2f66

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add back error for bandwidth lower than -1. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -0 lines) Patch
M webrtc/pc/webrtcsdp.cc View 1 1 chunk +10 lines, -0 lines 2 comments Download
M webrtc/pc/webrtcsdp_unittest.cc View 1 1 chunk +23 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (6 generated)
Taylor Brandstetter
PTAL; it turns out that negative b=AS values are being used after all.
3 years, 4 months ago (2017-08-03 18:01:02 UTC) #2
Zhi Huang
https://codereview.webrtc.org/2995463002/diff/1/webrtc/pc/webrtcsdp.cc File webrtc/pc/webrtcsdp.cc (right): https://codereview.webrtc.org/2995463002/diff/1/webrtc/pc/webrtcsdp.cc#newcode2726 webrtc/pc/webrtcsdp.cc:2726: // better to treat this as a hard error ...
3 years, 4 months ago (2017-08-03 18:12:48 UTC) #3
Taylor Brandstetter
Followed your suggestion, take a look again https://codereview.webrtc.org/2995463002/diff/1/webrtc/pc/webrtcsdp.cc File webrtc/pc/webrtcsdp.cc (right): https://codereview.webrtc.org/2995463002/diff/1/webrtc/pc/webrtcsdp.cc#newcode2726 webrtc/pc/webrtcsdp.cc:2726: // better ...
3 years, 4 months ago (2017-08-03 21:44:33 UTC) #4
Zhi Huang
lgtm https://codereview.webrtc.org/2995463002/diff/20001/webrtc/pc/webrtcsdp.cc File webrtc/pc/webrtcsdp.cc (right): https://codereview.webrtc.org/2995463002/diff/20001/webrtc/pc/webrtcsdp.cc#newcode2733 webrtc/pc/webrtcsdp.cc:2733: return ParseFailed(line, "b=AS value can't be negative.", error); ...
3 years, 4 months ago (2017-08-03 23:37:40 UTC) #5
Taylor Brandstetter
https://codereview.webrtc.org/2995463002/diff/20001/webrtc/pc/webrtcsdp.cc File webrtc/pc/webrtcsdp.cc (right): https://codereview.webrtc.org/2995463002/diff/20001/webrtc/pc/webrtcsdp.cc#newcode2733 webrtc/pc/webrtcsdp.cc:2733: return ParseFailed(line, "b=AS value can't be negative.", error); On ...
3 years, 4 months ago (2017-08-04 00:10:20 UTC) #6
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/2995463002/20001
3 years, 4 months ago (2017-08-04 00:10:41 UTC) #8
commit-bot: I haz the power
3 years, 4 months ago (2017-08-04 00:49:54 UTC) #13
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/external/webrtc/+/3e8016e1d51e6db21a51b7fcf...

Powered by Google App Engine
This is Rietveld 408576698