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

Issue 2409483003: Removed the legacy behavior of stopping playout when setting new receive codecs. (Closed)

Created:
4 years, 2 months ago by the sun
Modified:
4 years, 1 month ago
Reviewers:
kwiberg-webrtc
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, the sun
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Removed the legacy behavior of stopping playout when setting new receive codecs. BUG=webrtc:4690 Committed: https://crrev.com/917d4e1e7131f35764cff932a8793151585e8179 Cr-Commit-Position: refs/heads/master@{#14610}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -17 lines) Patch
M webrtc/media/engine/webrtcvoiceengine.h View 2 chunks +0 lines, -2 lines 0 comments Download
M webrtc/media/engine/webrtcvoiceengine.cc View 3 chunks +1 line, -15 lines 0 comments Download

Messages

Total messages: 17 (7 generated)
the sun
Can you think of any reason why playout would need to be stopped when updating ...
4 years, 2 months ago (2016-10-10 12:55:38 UTC) #2
kwiberg-webrtc
On 2016/10/10 12:55:38, the sun wrote: > Can you think of any reason why playout ...
4 years, 2 months ago (2016-10-10 21:53:06 UTC) #5
hlundin-webrtc
On 2016/10/10 21:53:06, kwiberg-webrtc wrote: > On 2016/10/10 12:55:38, the sun wrote: > > Can ...
4 years, 2 months ago (2016-10-11 11:59:50 UTC) #6
hlundin-webrtc
Removing self from reviewers. The UI is vile, defaulting "add as reviewer" just because you ...
4 years, 2 months ago (2016-10-11 12:03:03 UTC) #8
kwiberg-webrtc
lgtm
4 years, 2 months ago (2016-10-12 09:03:51 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/2409483003/1
4 years, 2 months ago (2016-10-12 09:07:17 UTC) #11
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 2 months ago (2016-10-12 10:20:32 UTC) #13
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/917d4e1e7131f35764cff932a8793151585e8179 Cr-Commit-Position: refs/heads/master@{#14610}
4 years, 2 months ago (2016-10-12 10:20:42 UTC) #15
skvlad
This change breaks a scenario that is unfortunately not covered by unit tests, but can ...
4 years, 1 month ago (2016-11-02 21:22:29 UTC) #16
kwiberg-webrtc
4 years, 1 month ago (2016-11-03 09:17:19 UTC) #17
Message was sent while issue was closed.
A revert of this CL (patchset #1 id:1) has been created in
https://codereview.webrtc.org/2478433003/ by kwiberg@webrtc.org.

The reason for reverting is: Reverting because of the reasons given in comment
#16:

"This change breaks a scenario that is unfortunately not covered by unit tests,
but can easily happen in a real call.

The scenario that is broken by the change is this:
1. A sends an offer to B, with a set of codecs C_a (which is a subset of C_b,
the codecs supported by B)
2. B responds with an answer, and sets the receive codecs to C_a.
3. At a later time, B generates a new offer which by default includes all codecs
in C_b.
4. B calls SetLocalDescription() with this offer, that adds new receive codecs.
5. Adding the new codecs fails, because of the check at
https://cs.chromium.org/chromium/src/third_party/webrtc/voice_engine/channel.....
This causes SetLocalDescription() itself to fail. The net effect is that B
cannot set a local description it just generated.

Before the CL mentioned above, we'd stop playout before changing the codecs, and
the operation would succeed.".

Powered by Google App Engine
This is Rietveld 408576698