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

Issue 2799033006: Injectable audio encoders: Moved audio encoder, factory and builtin factory to api/. (Closed)

Created:
3 years, 8 months ago by ossu
Modified:
3 years, 7 months ago
Reviewers:
kwiberg-webrtc
CC:
webrtc-reviews_webrtc.org, AleBzk, peah-webrtc, Andrew MacDonald, henrika_webrtc, stefan-webrtc, tlegrand-webrtc, tterriberry_mozilla.com, audio-team_agora.io, hlundin-webrtc, kwiberg-webrtc, minyue-webrtc, the sun, mflodman, lliuu
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Injectable audio encoders: Moved audio encoder, factory and builtin factory to api/. Plumbed AudioEncoderFactory up into CreatePeerConnectionFactory. BUG=webrtc:5806 Review-Url: https://codereview.webrtc.org/2799033006 Cr-Commit-Position: refs/heads/master@{#17977} Committed: https://chromium.googlesource.com/external/webrtc/+/eb1fde4a26f1a863c7488a63923eaf782c3ba177

Patch Set 1 #

Total comments: 5

Patch Set 2 : Rebase #

Patch Set 3 : Moved mocks to test/. Removed some overloads of WebRtcMediaEngineFactory::Create. #

Patch Set 4 : Put the extra overloads back in. #

Patch Set 5 : Added backwards-compatibility and small rebase. #

Patch Set 6 : More backwards-compatibility! #

Unified diffs Side-by-side diffs Delta from patch set Stats (+302 lines, -923 lines) Patch
M webrtc/api/BUILD.gn View 1 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/api/audio_codecs/BUILD.gn View 2 chunks +15 lines, -0 lines 0 comments Download
A + webrtc/api/audio_codecs/audio_encoder.h View 1 2 3 4 2 chunks +5 lines, -3 lines 0 comments Download
A + webrtc/api/audio_codecs/audio_encoder.cc View 1 2 chunks +4 lines, -2 lines 0 comments Download
A + webrtc/api/audio_codecs/audio_encoder_factory.h View 2 chunks +4 lines, -4 lines 0 comments Download
A + webrtc/api/audio_codecs/builtin_audio_encoder_factory.h View 3 chunks +5 lines, -5 lines 0 comments Download
A + webrtc/api/audio_codecs/builtin_audio_encoder_factory.cc View 1 chunk +5 lines, -9 lines 0 comments Download
M webrtc/api/peerconnectioninterface.h View 1 2 chunks +3 lines, -3 lines 0 comments Download
M webrtc/audio/BUILD.gn View 1 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/audio/audio_send_stream_unittest.cc View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/call/BUILD.gn View 1 2 chunks +1 line, -3 lines 0 comments Download
M webrtc/call/audio_send_stream.h View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/call/call_perf_tests.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M webrtc/media/BUILD.gn View 1 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/media/base/fakemediaengine.h View 2 chunks +3 lines, -0 lines 0 comments Download
M webrtc/media/base/mediaengine.h View 2 chunks +5 lines, -1 line 0 comments Download
M webrtc/media/engine/nullwebrtcvideoengine_unittest.cc View 1 2 3 chunks +6 lines, -2 lines 0 comments Download
M webrtc/media/engine/webrtcmediaengine.h View 3 1 chunk +19 lines, -0 lines 0 comments Download
M webrtc/media/engine/webrtcmediaengine.cc View 3 7 chunks +46 lines, -11 lines 0 comments Download
M webrtc/media/engine/webrtcmediaengine_unittest.cc View 1 2 2 chunks +3 lines, -1 line 0 comments Download
M webrtc/media/engine/webrtcvoiceengine.h View 1 3 chunks +3 lines, -1 line 0 comments Download
M webrtc/media/engine/webrtcvoiceengine.cc View 1 3 chunks +9 lines, -4 lines 0 comments Download
M webrtc/media/engine/webrtcvoiceengine_unittest.cc View 1 2 10 chunks +27 lines, -14 lines 0 comments Download
M webrtc/modules/audio_coding/BUILD.gn View 1 2 3 4 5 23 chunks +37 lines, -52 lines 0 comments Download
M webrtc/modules/audio_coding/acm2/acm_send_test.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/audio_coding/acm2/audio_coding_module_unittest.cc View 1 2 3 chunks +2 lines, -2 lines 0 comments Download
M webrtc/modules/audio_coding/acm2/codec_manager_unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/audio_coding/acm2/rent_a_codec.h View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/audio_coding/acm2/rent_a_codec_unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
D webrtc/modules/audio_coding/codecs/audio_encoder.h View 1 2 3 4 2 chunks +6 lines, -198 lines 0 comments Download
D webrtc/modules/audio_coding/codecs/audio_encoder.cc View 1 1 chunk +0 lines, -96 lines 0 comments Download
D webrtc/modules/audio_coding/codecs/audio_encoder_factory.h View 1 chunk +0 lines, -46 lines 0 comments Download
D webrtc/modules/audio_coding/codecs/builtin_audio_encoder_factory.h View 1 2 3 4 5 2 chunks +6 lines, -11 lines 0 comments Download
D webrtc/modules/audio_coding/codecs/builtin_audio_encoder_factory.cc View 1 1 chunk +0 lines, -143 lines 0 comments Download
A + webrtc/modules/audio_coding/codecs/builtin_audio_encoder_factory_internal.h View 1 2 3 4 5 1 chunk +6 lines, -5 lines 0 comments Download
A + webrtc/modules/audio_coding/codecs/builtin_audio_encoder_factory_internal.cc View 1 3 chunks +5 lines, -4 lines 0 comments Download
M webrtc/modules/audio_coding/codecs/builtin_audio_encoder_factory_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/audio_coding/codecs/cng/audio_encoder_cng.h View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/audio_coding/codecs/cng/audio_encoder_cng_unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/audio_coding/codecs/g711/audio_encoder_pcm.h View 1 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/audio_coding/codecs/g722/audio_encoder_g722.h View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/audio_coding/codecs/ilbc/audio_encoder_ilbc.h View 1 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/audio_coding/codecs/isac/audio_encoder_isac_t.h View 1 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/audio_coding/codecs/mock/mock_audio_encoder.h View 1 2 1 chunk +0 lines, -105 lines 0 comments Download
D webrtc/modules/audio_coding/codecs/mock/mock_audio_encoder.cc View 1 2 1 chunk +0 lines, -52 lines 0 comments Download
M webrtc/modules/audio_coding/codecs/mock/mock_audio_encoder_factory.h View 1 2 1 chunk +0 lines, -91 lines 0 comments Download
M webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus.h View 1 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/audio_coding/codecs/red/audio_encoder_copy_red.h View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/audio_coding/codecs/red/audio_encoder_copy_red_unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/audio_coding/include/audio_coding_module.h View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/audio_coding/neteq/tools/encode_neteq_input.h View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/ortc/BUILD.gn View 1 1 chunk +2 lines, -1 line 0 comments Download
M webrtc/ortc/ortcfactory.h View 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/ortc/ortcfactory.cc View 4 chunks +6 lines, -3 lines 0 comments Download
M webrtc/pc/peerconnectionfactory.h View 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/pc/peerconnectionfactory.cc View 1 2 5 chunks +5 lines, -4 lines 0 comments Download
M webrtc/pc/peerconnectioninterface_unittest.cc View 1 2 chunks +1 line, -1 line 0 comments Download
M webrtc/test/BUILD.gn View 1 2 3 4 2 chunks +9 lines, -1 line 0 comments Download
M webrtc/test/call_test.cc View 1 1 chunk +1 line, -1 line 0 comments Download
A + webrtc/test/mock_audio_encoder.h View 1 2 5 chunks +9 lines, -7 lines 0 comments Download
A + webrtc/test/mock_audio_encoder.cc View 1 2 2 chunks +10 lines, -3 lines 0 comments Download
A + webrtc/test/mock_audio_encoder_factory.h View 1 2 2 chunks +4 lines, -4 lines 0 comments Download
M webrtc/voice_engine/BUILD.gn View 1 3 chunks +2 lines, -3 lines 0 comments Download
M webrtc/voice_engine/channel.h View 1 2 chunks +1 line, -1 line 0 comments Download
M webrtc/voice_engine/channel_proxy.h View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 26 (20 generated)
ossu
Adding kwiberg@ to have a look at this one. Don't worry, it looks bigger than ...
3 years, 8 months ago (2017-04-11 13:45:02 UTC) #4
kwiberg-webrtc
lgtm https://codereview.webrtc.org/2799033006/diff/20001/webrtc/api/peerconnectioninterface.h File webrtc/api/peerconnectioninterface.h (right): https://codereview.webrtc.org/2799033006/diff/20001/webrtc/api/peerconnectioninterface.h#newcode77 webrtc/api/peerconnectioninterface.h:77: // TODO(ossu): Remove this once downstream projects have ...
3 years, 8 months ago (2017-04-12 09:59:33 UTC) #5
ossu
https://codereview.webrtc.org/2799033006/diff/20001/webrtc/api/peerconnectioninterface.h File webrtc/api/peerconnectioninterface.h (right): https://codereview.webrtc.org/2799033006/diff/20001/webrtc/api/peerconnectioninterface.h#newcode77 webrtc/api/peerconnectioninterface.h:77: // TODO(ossu): Remove this once downstream projects have been ...
3 years, 8 months ago (2017-04-12 10:05:28 UTC) #6
ossu
Seems the internal bot is in a bit of a bad mood ATM, but at ...
3 years, 7 months ago (2017-05-02 11:14:51 UTC) #20
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/2799033006/140001
3 years, 7 months ago (2017-05-02 12:50:59 UTC) #23
commit-bot: I haz the power
3 years, 7 months ago (2017-05-02 13:46:37 UTC) #26
Message was sent while issue was closed.
Committed patchset #6 (id:140001) as
https://chromium.googlesource.com/external/webrtc/+/eb1fde4a26f1a863c7488a639...

Powered by Google App Engine
This is Rietveld 408576698