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

Issue 2329653002: Add WebrtcVideoEncoder interface (Closed)

Created:
4 years, 3 months ago by Sergey Ulanov
Modified:
4 years, 3 months ago
Reviewers:
Irfan, Jamie
CC:
chromium-reviews, posciak+watch_chromium.org, chromoting-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add WebrtcVideoEncoder interface Previous WebrtcVideoEncoderVpx was implementing VideoEncoder interface. That interface depends on VideoPacket, which is not applicable for WebRTC case. Added a separate interface that will be used for WebRTC protocol. The new interface allows to set bandwidth and frame duration for each frame individually. Also renamed class previously called WebrtcVideoEncoder to WebrtcDummyVideoEncoder. BUG=645656 Committed: https://crrev.com/2becb601192f9f6912a982e39e04e3fa0a6a776a Cr-Commit-Position: refs/heads/master@{#418314}

Patch Set 1 #

Total comments: 6

Patch Set 2 : . #

Total comments: 2

Patch Set 3 : . #

Patch Set 4 : sync #

Patch Set 5 : win #

Unified diffs Side-by-side diffs Delta from patch set Stats (+236 lines, -530 lines) Patch
M remoting/client/software_video_renderer_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M remoting/codec/codec_test.cc View 4 chunks +5 lines, -5 lines 0 comments Download
M remoting/codec/video_encoder.h View 2 chunks +2 lines, -4 lines 0 comments Download
M remoting/codec/video_encoder_verbatim.h View 1 chunk +2 lines, -2 lines 0 comments Download
M remoting/codec/video_encoder_verbatim.cc View 1 chunk +1 line, -2 lines 0 comments Download
M remoting/codec/video_encoder_vpx.h View 1 chunk +2 lines, -2 lines 0 comments Download
M remoting/codec/video_encoder_vpx.cc View 3 chunks +1 line, -6 lines 0 comments Download
M remoting/codec/video_encoder_vpx_unittest.cc View 7 chunks +12 lines, -12 lines 0 comments Download
A remoting/codec/webrtc_video_encoder.h View 1 2 1 chunk +51 lines, -0 lines 0 comments Download
M remoting/codec/webrtc_video_encoder_vpx.h View 5 chunks +11 lines, -12 lines 0 comments Download
M remoting/codec/webrtc_video_encoder_vpx.cc View 7 chunks +36 lines, -33 lines 0 comments Download
M remoting/proto/video.proto View 1 chunk +0 lines, -3 lines 0 comments Download
M remoting/protocol/BUILD.gn View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M remoting/protocol/video_frame_pump.cc View 1 chunk +1 line, -1 line 0 comments Download
M remoting/protocol/video_frame_pump_unittest.cc View 2 chunks +3 lines, -4 lines 0 comments Download
M remoting/protocol/webrtc_connection_to_client.cc View 1 2 3 1 chunk +1 line, -4 lines 0 comments Download
A + remoting/protocol/webrtc_dummy_video_encoder.h View 1 5 chunks +22 lines, -17 lines 0 comments Download
A + remoting/protocol/webrtc_dummy_video_encoder.cc View 13 chunks +44 lines, -39 lines 0 comments Download
M remoting/protocol/webrtc_transport.h View 3 chunks +3 lines, -3 lines 0 comments Download
M remoting/protocol/webrtc_transport.cc View 2 chunks +2 lines, -2 lines 0 comments Download
D remoting/protocol/webrtc_video_encoder_factory.h View 1 chunk +0 lines, -97 lines 0 comments Download
D remoting/protocol/webrtc_video_encoder_factory.cc View 1 chunk +0 lines, -241 lines 0 comments Download
M remoting/protocol/webrtc_video_stream.h View 4 chunks +8 lines, -11 lines 0 comments Download
M remoting/protocol/webrtc_video_stream.cc View 1 2 3 4 7 chunks +20 lines, -20 lines 0 comments Download
M remoting/test/codec_perftest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M remoting/test/test_video_renderer_unittest.cc View 4 chunks +4 lines, -5 lines 0 comments Download

Messages

Total messages: 22 (10 generated)
Sergey Ulanov
4 years, 3 months ago (2016-09-09 22:50:26 UTC) #2
Irfan
Did you miss adding WebRtcVideoEncoder related files in the commit ? https://codereview.chromium.org/2329653002/diff/1/remoting/codec/webrtc_video_encoder_vpx.cc File remoting/codec/webrtc_video_encoder_vpx.cc (right): ...
4 years, 3 months ago (2016-09-12 21:34:24 UTC) #3
Sergey Ulanov
> Did you miss adding WebRtcVideoEncoder related files in the commit ? Yes. Added it ...
4 years, 3 months ago (2016-09-12 22:50:02 UTC) #4
Irfan
lgtm https://codereview.chromium.org/2329653002/diff/20001/remoting/codec/webrtc_video_encoder.h File remoting/codec/webrtc_video_encoder.h (right): https://codereview.chromium.org/2329653002/diff/20001/remoting/codec/webrtc_video_encoder.h#newcode28 remoting/codec/webrtc_video_encoder.h:28: bool clear_active_map = false; It seems some of ...
4 years, 3 months ago (2016-09-12 22:55:30 UTC) #5
Sergey Ulanov
https://codereview.chromium.org/2329653002/diff/20001/remoting/codec/webrtc_video_encoder.h File remoting/codec/webrtc_video_encoder.h (right): https://codereview.chromium.org/2329653002/diff/20001/remoting/codec/webrtc_video_encoder.h#newcode28 remoting/codec/webrtc_video_encoder.h:28: bool clear_active_map = false; On 2016/09/12 22:55:30, Irfan wrote: ...
4 years, 3 months ago (2016-09-12 23:05:23 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.chromium.org/2329653002/40001
4 years, 3 months ago (2016-09-12 23:06:20 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/67821) mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, ...
4 years, 3 months ago (2016-09-12 23:09:17 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2329653002/60001
4 years, 3 months ago (2016-09-13 04:42:14 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_swarming_rel/builds/29553)
4 years, 3 months ago (2016-09-13 05:22:30 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2329653002/80001
4 years, 3 months ago (2016-09-13 17:41:30 UTC) #19
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 3 months ago (2016-09-13 18:41:52 UTC) #20
commit-bot: I haz the power
4 years, 3 months ago (2016-09-13 18:43:17 UTC) #22
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/2becb601192f9f6912a982e39e04e3fa0a6a776a
Cr-Commit-Position: refs/heads/master@{#418314}

Powered by Google App Engine
This is Rietveld 408576698