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

Issue 2964953002: Remove webrtc::VideoEncoderFactory (Closed)

Created:
3 years, 5 months ago by magjed_webrtc
Modified:
3 years, 5 months ago
Reviewers:
stefan-webrtc
CC:
webrtc-reviews_webrtc.org, video-team_agora.io, yujie_mao (webrtc), zhengzhonghou_agora.io, tterriberry_mozilla.com, the sun, mflodman
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Remove webrtc::VideoEncoderFactory Replace the use of webrtc::VideoEncoderFactory with cricket::WebRtcVideoEncoderFactory and remove the adapter classes between these two factory types. Some code changes were necessary in order to accomplish this: * Move SimulcastEncoderAdapter from webrtc/modules/video_coding/codecs/vp8 to webrtc/media/engine (that's where it's used). * Rename simulcast_unittest.h to simulcast_test_utility.h and make it into it's own target, because it's used from both simulcast_unittest.cc and simulcast_encoder_adapter_unittest.cc. * Remove ownership of the encoder factory from SimulcastEncoderAdapter, and make the necessary changes in surrounding code. The goal with this CL is to clean up the code, and also to free up the name webrtc::VideoEncoderFactory for future use. BUG=webrtc:7925 Review-Url: https://codereview.webrtc.org/2964953002 Cr-Commit-Position: refs/heads/master@{#18945} Committed: https://chromium.googlesource.com/external/webrtc/+/6cc25614a9eaa068951f549d400645b471127b29

Patch Set 1 #

Total comments: 4

Patch Set 2 : Address comments #

Patch Set 3 : Rebase #

Patch Set 4 : Add dep to base:sequenced_task_checker #

Unified diffs Side-by-side diffs Delta from patch set Stats (+119 lines, -2328 lines) Patch
M webrtc/media/BUILD.gn View 1 2 3 4 chunks +5 lines, -0 lines 0 comments Download
A + webrtc/media/engine/simulcast_encoder_adapter.h View 1 2 5 chunks +6 lines, -16 lines 0 comments Download
A + webrtc/media/engine/simulcast_encoder_adapter.cc View 1 2 4 chunks +6 lines, -5 lines 0 comments Download
A + webrtc/media/engine/simulcast_encoder_adapter_unittest.cc View 7 chunks +43 lines, -18 lines 0 comments Download
M webrtc/media/engine/webrtcvideoengine.cc View 1 2 3 chunks +2 lines, -25 lines 0 comments Download
M webrtc/modules/video_coding/BUILD.gn View 4 chunks +22 lines, -4 lines 0 comments Download
M webrtc/modules/video_coding/DEPS View 1 chunk +0 lines, -1 line 0 comments Download
D webrtc/modules/video_coding/codecs/vp8/simulcast_encoder_adapter.h View 1 2 1 chunk +0 lines, -126 lines 0 comments Download
D webrtc/modules/video_coding/codecs/vp8/simulcast_encoder_adapter.cc View 1 2 1 chunk +0 lines, -536 lines 0 comments Download
D webrtc/modules/video_coding/codecs/vp8/simulcast_encoder_adapter_unittest.cc View 1 chunk +0 lines, -799 lines 0 comments Download
A + webrtc/modules/video_coding/codecs/vp8/simulcast_test_utility.h View 1 2 4 chunks +13 lines, -7 lines 0 comments Download
D webrtc/modules/video_coding/codecs/vp8/simulcast_unittest.h View 1 2 1 chunk +0 lines, -749 lines 0 comments Download
M webrtc/modules/video_coding/codecs/vp8/simulcast_unittest.cc View 1 chunk +3 lines, -7 lines 0 comments Download
M webrtc/video/end_to_end_tests.cc View 1 2 2 chunks +1 line, -1 line 0 comments Download
M webrtc/video/picture_id_tests.cc View 1 4 chunks +4 lines, -28 lines 0 comments Download
M webrtc/video/video_quality_test.h View 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/video/video_quality_test.cc View 1 2 1 chunk +12 lines, -4 lines 0 comments Download

Messages

Total messages: 56 (45 generated)
magjed_webrtc
Stefan - please take a look.
3 years, 5 months ago (2017-07-05 12:42:42 UTC) #33
stefan-webrtc
I don't have many comments, overall it looks good. What I kind of dislike a ...
3 years, 5 months ago (2017-07-07 09:55:22 UTC) #34
magjed_webrtc
On 2017/07/07 09:55:22, stefan-webrtc wrote: > I don't have many comments, overall it looks good. ...
3 years, 5 months ago (2017-07-07 12:07:51 UTC) #35
magjed_webrtc
https://codereview.webrtc.org/2964953002/diff/100001/webrtc/media/engine/webrtcvideoengine.cc File webrtc/media/engine/webrtcvideoengine.cc (right): https://codereview.webrtc.org/2964953002/diff/100001/webrtc/media/engine/webrtcvideoengine.cc#newcode38 webrtc/media/engine/webrtcvideoengine.cc:38: #include "webrtc/media/engine/simulcast_encoder_adapter.h" On 2017/07/07 09:55:21, stefan-webrtc wrote: > Sort ...
3 years, 5 months ago (2017-07-07 12:08:00 UTC) #36
stefan-webrtc
On 2017/07/07 12:07:51, magjed_webrtc wrote: > On 2017/07/07 09:55:22, stefan-webrtc wrote: > > I don't ...
3 years, 5 months ago (2017-07-07 12:19:10 UTC) #37
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/2964953002/120001
3 years, 5 months ago (2017-07-07 15:19:19 UTC) #39
commit-bot: I haz the power
Try jobs failed on following builders: ios_arm64_dbg on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/ios_arm64_dbg/builds/21810) ios_dbg on master.tryserver.webrtc (JOB_FAILED, ...
3 years, 5 months ago (2017-07-07 15:21:04 UTC) #41
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/2964953002/140001
3 years, 5 months ago (2017-07-10 09:04:29 UTC) #44
commit-bot: I haz the power
Try jobs failed on following builders: ios32_sim_ios9_dbg on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/ios32_sim_ios9_dbg/builds/5905) ios_arm64_dbg on master.tryserver.webrtc (JOB_FAILED, ...
3 years, 5 months ago (2017-07-10 09:06:16 UTC) #46
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/2964953002/160001
3 years, 5 months ago (2017-07-10 10:23:53 UTC) #53
commit-bot: I haz the power
3 years, 5 months ago (2017-07-10 10:26:45 UTC) #56
Message was sent while issue was closed.
Committed patchset #4 (id:160001) as
https://chromium.googlesource.com/external/webrtc/+/6cc25614a9eaa068951f549d4...

Powered by Google App Engine
This is Rietveld 408576698