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

Issue 3000253002: Move video send/receive stream headers to webrtc/call. (Closed)

Created:
3 years, 4 months ago by aleloi
Modified:
3 years, 4 months ago
CC:
webrtc-reviews_webrtc.org, interface-changes_webrtc.org, video-team_agora.io, yujie_mao (webrtc), peah-webrtc, zhengzhonghou_agora.io, stefan-webrtc, tterriberry_mozilla.com, qiang.lu, niklas.enbom, kwiberg-webrtc, the sun, mflodman
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Move video send/receive stream headers to webrtc/call. Moved the headers video_receive_stream.h and video_send_stream.h from webrtc/ into webrtc/call/ as part of the Slim and Modular work. The GN target webrtc:video_stream_api has moved to webrtc/call:video_stream_api. There are headers left in webrtc/ with the same name including the moved headers in webrtc/call/ for not breaking external projects depending on WebRTC. At the same time, some minor cleanup is done: Non-pure-virtual functions declared in the two affected headers now have definitions in the same target. After making this change, our 'chromium-style' plugin detected some style violations that have now been fixed: non-inlined constructors and destructors have been added to a number of classes, both inside the GN target of the two affected headers, and in other targets. BUG=webrtc:8107 Review-Url: https://codereview.webrtc.org/3000253002 Cr-Commit-Position: refs/heads/master@{#19448} Committed: https://chromium.googlesource.com/external/webrtc/+/440b6d9a0f22d9059ca330fd597dcfd0d6fc5377

Patch Set 1 #

Patch Set 2 : Refer to correct bug in comment. #

Patch Set 3 : Add missing files #

Total comments: 2

Patch Set 4 : Added implementation to target; made chromium-style happy. #

Patch Set 5 : Remove 'video{source, sink}interface from GN #

Total comments: 2

Patch Set 6 : Remove accidental change, remove extra newline #

Patch Set 7 : Headers moved to 'webrtc/call' instead of 'webrtc/api'. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+417 lines, -757 lines) Patch
M webrtc/BUILD.gn View 2 chunks +1 line, -13 lines 2 comments Download
M webrtc/DEPS View 1 2 3 4 5 6 1 chunk +2 lines, -4 lines 0 comments Download
M webrtc/call/BUILD.gn View 1 2 3 4 5 6 2 chunks +16 lines, -1 line 0 comments Download
M webrtc/call/DEPS View 1 2 3 4 5 6 1 chunk +11 lines, -0 lines 0 comments Download
M webrtc/call/call.h View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download
A + webrtc/call/video_receive_stream.h View 1 2 3 4 5 6 6 chunks +16 lines, -9 lines 0 comments Download
A webrtc/call/video_receive_stream.cc View 1 2 3 4 5 6 1 chunk +131 lines, -0 lines 0 comments Download
A + webrtc/call/video_send_stream.h View 1 2 3 4 5 6 9 chunks +23 lines, -9 lines 0 comments Download
A webrtc/call/video_send_stream.cc View 1 2 3 4 5 6 1 chunk +162 lines, -0 lines 0 comments Download
M webrtc/logging/BUILD.gn View 1 2 3 4 5 6 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/logging/rtc_event_log/rtc_event_log_parser.h View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/media/BUILD.gn View 1 2 3 4 5 6 4 chunks +7 lines, -2 lines 0 comments Download
M webrtc/media/base/videosourceinterface.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
A webrtc/media/base/videosourceinterface.cc View 1 2 3 1 chunk +17 lines, -0 lines 0 comments Download
M webrtc/media/engine/webrtcvideoengine.h View 1 2 3 4 5 6 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/modules/video_coding/BUILD.gn View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M webrtc/rtc_tools/BUILD.gn View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M webrtc/rtc_tools/event_log_visualizer/analyzer.cc View 1 2 3 4 5 6 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/test/BUILD.gn View 1 2 3 4 5 6 3 chunks +2 lines, -2 lines 0 comments Download
M webrtc/test/encoder_settings.h View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/video/BUILD.gn View 1 2 3 4 5 6 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/video/receive_statistics_proxy.h View 1 2 3 4 5 6 2 chunks +1 line, -1 line 0 comments Download
M webrtc/video/rtp_video_stream_receiver.h View 1 2 3 4 5 6 2 chunks +1 line, -1 line 0 comments Download
M webrtc/video/video_receive_stream.h View 1 2 3 4 5 6 2 chunks +1 line, -1 line 0 comments Download
M webrtc/video/video_receive_stream.cc View 1 2 3 1 chunk +0 lines, -97 lines 0 comments Download
M webrtc/video/video_send_stream.h View 1 2 3 4 5 6 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/video/video_send_stream.cc View 1 2 3 1 chunk +0 lines, -123 lines 0 comments Download
M webrtc/video_receive_stream.h View 1 2 3 4 5 6 1 chunk +3 lines, -223 lines 0 comments Download
M webrtc/video_send_stream.h View 1 2 3 4 5 6 1 chunk +3 lines, -253 lines 0 comments Download

Messages

Total messages: 48 (37 generated)
aleloi
PTAL!
3 years, 4 months ago (2017-08-21 07:58:04 UTC) #16
kwiberg-webrtc
https://codereview.webrtc.org/3000253002/diff/40001/webrtc/api/BUILD.gn File webrtc/api/BUILD.gn (right): https://codereview.webrtc.org/3000253002/diff/40001/webrtc/api/BUILD.gn#newcode201 webrtc/api/BUILD.gn:201: "video_send_stream.h", These .h files declare functions that they don't ...
3 years, 4 months ago (2017-08-21 08:51:00 UTC) #18
aleloi
Done, PTAL again :-) https://codereview.webrtc.org/3000253002/diff/40001/webrtc/api/BUILD.gn File webrtc/api/BUILD.gn (right): https://codereview.webrtc.org/3000253002/diff/40001/webrtc/api/BUILD.gn#newcode201 webrtc/api/BUILD.gn:201: "video_send_stream.h", On 2017/08/21 08:51:00, kwiberg-webrtc ...
3 years, 4 months ago (2017-08-21 13:40:01 UTC) #26
kjellander_webrtc
Thanks for this! All looks good except webrtc/test/testsupport/trace_to_stderr.cc? https://codereview.webrtc.org/3000253002/diff/80001/webrtc/test/testsupport/trace_to_stderr.cc File webrtc/test/testsupport/trace_to_stderr.cc (right): https://codereview.webrtc.org/3000253002/diff/80001/webrtc/test/testsupport/trace_to_stderr.cc#newcode49 webrtc/test/testsupport/trace_to_stderr.cc:49: ) ...
3 years, 4 months ago (2017-08-21 13:45:28 UTC) #27
aleloi
I've put the headers in webrtc/call, PTAL on the latest changes! https://codereview.webrtc.org/3000253002/diff/80001/webrtc/test/testsupport/trace_to_stderr.cc File webrtc/test/testsupport/trace_to_stderr.cc (right): ...
3 years, 4 months ago (2017-08-22 09:03:18 UTC) #36
aleloi
https://codereview.webrtc.org/3000253002/diff/120001/webrtc/BUILD.gn File webrtc/BUILD.gn (right): https://codereview.webrtc.org/3000253002/diff/120001/webrtc/BUILD.gn#newcode29 webrtc/BUILD.gn:29: Blank line added by 'git cl format'
3 years, 4 months ago (2017-08-22 09:04:03 UTC) #37
kjellander_webrtc
lgtm
3 years, 4 months ago (2017-08-22 09:25:05 UTC) #38
kwiberg-webrtc
lgtm, but update the commit message---it still talks about api/. Also, for next time: it's ...
3 years, 4 months ago (2017-08-22 11:21:15 UTC) #41
aleloi
On 2017/08/22 11:21:15, kwiberg-webrtc wrote: > lgtm, but update the commit message---it still talks about ...
3 years, 4 months ago (2017-08-22 12:38:22 UTC) #43
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/3000253002/120001
3 years, 4 months ago (2017-08-22 12:38:46 UTC) #45
commit-bot: I haz the power
3 years, 4 months ago (2017-08-22 12:43:29 UTC) #48
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://chromium.googlesource.com/external/webrtc/+/440b6d9a0f22d9059ca330fd5...

Powered by Google App Engine
This is Rietveld 408576698