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

Issue 1897233002: Deprecate VCMPacketizationCallback::SendData and use EncodedImageCallback instead. (Closed)

Created:
4 years, 8 months ago by perkj_webrtc
Modified:
4 years, 8 months ago
CC:
webrtc-reviews_webrtc.org, video-team_agora.io, yujie_mao (webrtc), zhengzhonghou_agora.io, stefan-webrtc, tterriberry_mozilla.com, pbos-webrtc, perkj_webrtc, mflodman
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Deprecate VCMPacketizationCallback::SendData and use EncodedImageCallback instead. EncodedImageCallback is used by all encoder implementations and seems to be what we should try to use in the transport. EncodedImageCallback can of course be cleaned up in the future. This moves creation of RTPVideoHeader from the GenericEncoder to the PayLoadRouter. BUG=webrtc:5687 Committed: https://crrev.com/f5d55aaecdc39e9cc66eb6e87614f04afe28f6eb Cr-Commit-Position: refs/heads/master@{#12436}

Patch Set 1 #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : Rebased #

Patch Set 4 : Fixed simulcast idx when using kVideoCodecGeneric. Fixed merge error of rotation. Addressed stefans… #

Total comments: 5

Patch Set 5 : Addressed pbos nits. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+333 lines, -333 lines) Patch
M webrtc/modules/video_coding/codec_database.cc View 2 chunks +0 lines, -2 lines 0 comments Download
M webrtc/modules/video_coding/generic_encoder.h View 1 2 2 chunks +0 lines, -2 lines 0 comments Download
M webrtc/modules/video_coding/generic_encoder.cc View 1 2 3 chunks +2 lines, -84 lines 0 comments Download
M webrtc/modules/video_coding/include/video_coding_defines.h View 1 chunk +3 lines, -5 lines 0 comments Download
M webrtc/modules/video_coding/utility/ivf_file_writer.h View 1 1 chunk +3 lines, -3 lines 0 comments Download
M webrtc/modules/video_coding/utility/ivf_file_writer.cc View 1 3 chunks +6 lines, -7 lines 0 comments Download
M webrtc/modules/video_coding/utility/ivf_file_writer_unittest.cc View 1 3 chunks +8 lines, -8 lines 0 comments Download
M webrtc/modules/video_coding/video_coding_impl.h View 1 chunk +2 lines, -0 lines 0 comments Download
M webrtc/modules/video_coding/video_coding_impl.cc View 1 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/modules/video_coding/video_sender_unittest.cc View 1 2 3 8 chunks +22 lines, -25 lines 0 comments Download
M webrtc/video/encoder_state_feedback_unittest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/video/payload_router.h View 1 4 chunks +10 lines, -12 lines 0 comments Download
M webrtc/video/payload_router.cc View 1 2 3 2 chunks +97 lines, -21 lines 0 comments Download
M webrtc/video/payload_router_unittest.cc View 7 chunks +71 lines, -53 lines 0 comments Download
M webrtc/video/send_statistics_proxy.h View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/video/send_statistics_proxy.cc View 3 chunks +18 lines, -9 lines 0 comments Download
M webrtc/video/send_statistics_proxy_unittest.cc View 7 chunks +36 lines, -36 lines 0 comments Download
M webrtc/video/video_receive_stream.cc View 1 1 chunk +2 lines, -17 lines 0 comments Download
M webrtc/video/video_send_stream.cc View 3 chunks +11 lines, -12 lines 0 comments Download
M webrtc/video/video_send_stream_tests.cc View 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/video/vie_encoder.h View 1 6 chunks +10 lines, -9 lines 0 comments Download
M webrtc/video/vie_encoder.cc View 1 8 chunks +29 lines, -25 lines 0 comments Download
M webrtc/video_encoder.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 16 (7 generated)
perkj_webrtc
Stefan - can you take a first look? pbos- please also help out.
4 years, 8 months ago (2016-04-19 12:07:20 UTC) #3
stefan-webrtc
lgtm I'd have preferred to clean up EncodedImageCallback a bit, for instance by using bool ...
4 years, 8 months ago (2016-04-19 13:43:13 UTC) #4
perkj_webrtc
Thanks- I found my bug in PayLoadRouter. pbos- please? https://codereview.webrtc.org/1897233002/diff/20001/webrtc/modules/video_coding/video_sender_unittest.cc File webrtc/modules/video_coding/video_sender_unittest.cc (right): https://codereview.webrtc.org/1897233002/diff/20001/webrtc/modules/video_coding/video_sender_unittest.cc#newcode89 webrtc/modules/video_coding/video_sender_unittest.cc:89: ...
4 years, 8 months ago (2016-04-19 14:30:05 UTC) #5
pbos-webrtc
lgtm https://codereview.webrtc.org/1897233002/diff/60001/webrtc/modules/video_coding/include/video_codec_interface.h File webrtc/modules/video_coding/include/video_codec_interface.h (right): https://codereview.webrtc.org/1897233002/diff/60001/webrtc/modules/video_coding/include/video_codec_interface.h#newcode93 webrtc/modules/video_coding/include/video_codec_interface.h:93: CodecSpecificInfo() { memset(this, 0, sizeof(CodecSpecificInfo)); } Remove for ...
4 years, 8 months ago (2016-04-19 14:59:24 UTC) #6
perkj_webrtc
https://codereview.webrtc.org/1897233002/diff/60001/webrtc/modules/video_coding/video_coding_impl.cc File webrtc/modules/video_coding/video_coding_impl.cc (left): https://codereview.webrtc.org/1897233002/diff/60001/webrtc/modules/video_coding/video_coding_impl.cc#oldcode57 webrtc/modules/video_coding/video_coding_impl.cc:57: // TODO(andresp): Change to void as return value is ...
4 years, 8 months ago (2016-04-20 07:12:13 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1897233002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1897233002/80001
4 years, 8 months ago (2016-04-20 07:12:24 UTC) #10
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 8 months ago (2016-04-20 08:17:07 UTC) #12
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/f5d55aaecdc39e9cc66eb6e87614f04afe28f6eb Cr-Commit-Position: refs/heads/master@{#12436}
4 years, 8 months ago (2016-04-20 08:17:20 UTC) #14
kjellander_webrtc
4 years, 8 months ago (2016-04-20 11:13:08 UTC) #15
Message was sent while issue was closed.
A revert of this CL (patchset #5 id:80001) has been created in
https://codereview.webrtc.org/1903193002/ by kjellander@webrtc.org.

The reason for reverting is: API changes broke downstream..

Powered by Google App Engine
This is Rietveld 408576698