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

Issue 2686043006: WebRtcVoiceMediaChannel::AddRecvStream: Don't call SetRecPayloadType (Closed)

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

Description

WebRtcVoiceMediaChannel::AddRecvStream: Don't call SetRecPayloadType This removes one more place where we were unable to handle codecs not in the built-in set. BUG=webrtc:5805 Review-Url: https://codereview.webrtc.org/2686043006 Cr-Commit-Position: refs/heads/master@{#17370} Committed: https://chromium.googlesource.com/external/webrtc/+/1724cfbdbafef4736fedda37312b0286f1eb03d0

Patch Set 1 #

Patch Set 2 : rebase #

Total comments: 5

Patch Set 3 : rebase #

Patch Set 4 : add a second receive stream #

Patch Set 5 : replace set of receive codecs #

Patch Set 6 : rebase #

Patch Set 7 : Discard packets when updating payload type map #

Total comments: 23

Patch Set 8 : rebase #

Patch Set 9 : Channel: No initial receive codecs #

Patch Set 10 : rebase #

Patch Set 11 : no initial decoders, less error handling #

Patch Set 12 : restore changes that got lost—they were important! #

Patch Set 13 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+221 lines, -150 lines) Patch
M webrtc/audio/audio_receive_stream.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -4 lines 0 comments Download
M webrtc/audio/audio_receive_stream_unittest.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +6 lines, -0 lines 0 comments Download
M webrtc/call/call_unittest.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +11 lines, -0 lines 0 comments Download
M webrtc/media/engine/fakewebrtcvoiceengine.h View 1 2 3 4 5 6 7 8 10 1 chunk +0 lines, -2 lines 0 comments Download
M webrtc/media/engine/webrtcvoiceengine.h View 1 2 3 4 5 6 7 10 11 1 chunk +5 lines, -0 lines 0 comments Download
M webrtc/media/engine/webrtcvoiceengine.cc View 1 2 3 4 5 6 7 10 11 5 chunks +10 lines, -40 lines 0 comments Download
M webrtc/media/engine/webrtcvoiceengine_unittest.cc View 1 2 3 4 5 6 7 7 chunks +34 lines, -77 lines 0 comments Download
M webrtc/modules/audio_coding/acm2/acm_receiver.h View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -0 lines 0 comments Download
M webrtc/modules/audio_coding/acm2/acm_receiver.cc View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M webrtc/modules/audio_coding/acm2/audio_coding_module.cc View 1 2 3 4 5 6 7 8 10 4 chunks +8 lines, -23 lines 0 comments Download
M webrtc/modules/audio_coding/include/audio_coding_module.h View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/decoder_database.h View 1 2 3 4 5 6 1 chunk +5 lines, -0 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/decoder_database.cc View 1 2 3 4 5 6 1 chunk +32 lines, -0 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/include/neteq.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/neteq_impl.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/neteq_impl.cc View 1 2 3 4 5 6 7 1 chunk +9 lines, -0 lines 0 comments Download
M webrtc/modules/rtp_rtcp/BUILD.gn View 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -0 lines 0 comments Download
M webrtc/modules/rtp_rtcp/include/rtp_payload_registry.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +5 lines, -0 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtp_payload_registry.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +26 lines, -0 lines 0 comments Download
M webrtc/test/mock_voe_channel_proxy.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +2 lines, -0 lines 0 comments Download
M webrtc/test/mock_voice_engine.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +5 lines, -0 lines 0 comments Download
M webrtc/voice_engine/channel.h View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +3 lines, -0 lines 0 comments Download
M webrtc/voice_engine/channel.cc View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +8 lines, -4 lines 0 comments Download
M webrtc/voice_engine/channel_proxy.h View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +2 lines, -0 lines 0 comments Download
M webrtc/voice_engine/channel_proxy.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +11 lines, -0 lines 0 comments Download
M webrtc/voice_engine/test/auto_test/fakes/conference_transport.cc View 1 2 3 4 5 6 7 8 9 10 5 chunks +14 lines, -0 lines 0 comments Download
M webrtc/voice_engine/test/auto_test/fixtures/after_streaming_fixture.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/voice_engine/test/auto_test/standard/codec_before_streaming_test.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +5 lines, -0 lines 0 comments Download

Messages

Total messages: 62 (41 generated)
kwiberg-webrtc
3 years, 9 months ago (2017-02-27 09:58:25 UTC) #10
the sun
https://codereview.webrtc.org/2686043006/diff/20001/webrtc/media/engine/webrtcvoiceengine.cc File webrtc/media/engine/webrtcvoiceengine.cc (left): https://codereview.webrtc.org/2686043006/diff/20001/webrtc/media/engine/webrtcvoiceengine.cc#oldcode2261 webrtc/media/engine/webrtcvoiceengine.cc:2261: // TODO(solenberg): Remove once "no codecs" is the default ...
3 years, 9 months ago (2017-02-27 10:10:19 UTC) #11
the sun
lgtm % a test that doesn't do what the comment says https://codereview.webrtc.org/2686043006/diff/20001/webrtc/media/engine/webrtcvoiceengine_unittest.cc File webrtc/media/engine/webrtcvoiceengine_unittest.cc (right): ...
3 years, 9 months ago (2017-02-27 11:48:52 UTC) #12
ossu
So, just to clarify, receive codecs weren't properly set for streams added after the set ...
3 years, 9 months ago (2017-03-02 16:55:09 UTC) #13
the sun
On 2017/03/02 16:55:09, ossu wrote: > So, just to clarify, receive codecs weren't properly set ...
3 years, 9 months ago (2017-03-10 12:12:28 UTC) #23
perkj_webrtc
On 2017/03/10 12:12:28, the sun wrote: > On 2017/03/02 16:55:09, ossu wrote: > > So, ...
3 years, 9 months ago (2017-03-10 13:39:04 UTC) #24
kwiberg-webrtc
On 2017/03/10 13:39:04, perkj_webrtc wrote: > On 2017/03/10 12:12:28, the sun wrote: > > On ...
3 years, 9 months ago (2017-03-10 21:06:55 UTC) #25
the sun
On 2017/03/10 21:06:55, kwiberg-webrtc wrote: > On 2017/03/10 13:39:04, perkj_webrtc wrote: > > On 2017/03/10 ...
3 years, 9 months ago (2017-03-11 14:59:17 UTC) #26
kwiberg-webrtc
On 2017/03/11 14:59:17, the sun wrote: > On 2017/03/10 21:06:55, kwiberg-webrtc wrote: > > On ...
3 years, 9 months ago (2017-03-13 08:30:44 UTC) #27
kwiberg-webrtc
New patch set posted! https://codereview.webrtc.org/2686043006/diff/20001/webrtc/media/engine/webrtcvoiceengine_unittest.cc File webrtc/media/engine/webrtcvoiceengine_unittest.cc (right): https://codereview.webrtc.org/2686043006/diff/20001/webrtc/media/engine/webrtcvoiceengine_unittest.cc#newcode846 webrtc/media/engine/webrtcvoiceengine_unittest.cc:846: // Test that changes to ...
3 years, 9 months ago (2017-03-14 14:22:37 UTC) #32
the sun
Generally looking good! I think we can make things a bit simpler still, PTAL. https://codereview.webrtc.org/2686043006/diff/140001/webrtc/base/annotations.h ...
3 years, 9 months ago (2017-03-14 20:07:01 UTC) #33
kwiberg-webrtc
https://codereview.webrtc.org/2686043006/diff/140001/webrtc/base/annotations.h File webrtc/base/annotations.h (right): https://codereview.webrtc.org/2686043006/diff/140001/webrtc/base/annotations.h#newcode11 webrtc/base/annotations.h:11: #ifndef WEBRTC_BASE_ANNOTATIONS_H_ On 2017/03/14 20:07:00, the sun wrote: > ...
3 years, 9 months ago (2017-03-16 10:24:13 UTC) #34
ossu
Just peeking in to let you know I've had a look through. There seems to ...
3 years, 9 months ago (2017-03-20 17:01:41 UTC) #35
perkj_webrtc
On 2017/03/20 17:01:41, ossu wrote: > Just peeking in to let you know I've had ...
3 years, 9 months ago (2017-03-23 10:50:22 UTC) #40
kwiberg-webrtc
On 2017/03/23 10:50:22, perkj_webrtc wrote: > On 2017/03/20 17:01:41, ossu wrote: > > Just peeking ...
3 years, 9 months ago (2017-03-23 13:29:34 UTC) #45
kwiberg-webrtc
On 2017/03/23 13:29:34, kwiberg-webrtc wrote: > On 2017/03/23 10:50:22, perkj_webrtc wrote: > > On 2017/03/20 ...
3 years, 9 months ago (2017-03-24 04:04:16 UTC) #54
the sun
still LGTM!
3 years, 9 months ago (2017-03-24 09:53:21 UTC) #55
ossu
This is great! LGTM! Ship it! All the words!
3 years, 9 months ago (2017-03-24 10:10:11 UTC) #56
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/2686043006/260001
3 years, 9 months ago (2017-03-24 10:13:09 UTC) #58
commit-bot: I haz the power
Committed patchset #13 (id:260001) as https://chromium.googlesource.com/external/webrtc/+/1724cfbdbafef4736fedda37312b0286f1eb03d0
3 years, 9 months ago (2017-03-24 10:16:12 UTC) #61
kwiberg-webrtc
3 years, 9 months ago (2017-03-24 12:56:03 UTC) #62
Message was sent while issue was closed.
A revert of this CL (patchset #13 id:260001) has been created in
https://codereview.webrtc.org/2772043002/ by kwiberg@webrtc.org.

The reason for reverting is: Makes perf and Chromium FYI bots unhappy..

Powered by Google App Engine
This is Rietveld 408576698