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

Issue 1673183002: Enable H.264 video WebRTC behind run-time flag and add WebRtcBrowserTest for H.264 (Closed)

Created:
4 years, 10 months ago by hbos_chromium
Modified:
4 years, 10 months ago
CC:
brettw, chromium-reviews, darin-cc_chromium.org, feature-media-reviews_chromium.org, mcasas+watch_chromium.org, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org, phoglund+watch_chromium.org, posciak+watch_chromium.org, tnakamura+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Enable H.264 video WebRTC behind run-time flag and add WebRtcBrowserTest for H.264. The compile flag |rtc_use_h264| defaults to |proprietary_codecs| which is used on some Chromium bots and in the official Chrome build. The new run-time flag |kWebRtcH264WithOpenH264FFmpeg| determines if the |rtc_use_h264| encoder/decoder will be used at runtime. The run-time flag is off by default. This CL: - Adds run-time flag and a new build target for it. It is placed in content/public/common/ because it can't/shouldn't be placed in the webrtc repo and peer_connection_dependency_factory.cc lives in content/renderer/media/webrtc/. - Moves renderer_features and its generated header file target from content/renderer/ to content/public/common/ to not break include rules and renames it to common_features. - Based on the run-time flag, enables or disables H.264 in peer_connection_dependency_factory.cc. - If flag is on, runs a new H.264 browser test. BUG=chromium:500605, chromium:468365 Committed: https://crrev.com/82140fb2bbb534004ea49baa1f31aa8d9646775b Cr-Commit-Position: refs/heads/master@{#376451}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Made renderer_features (RTC_USE_H264) content/public/ #

Patch Set 3 : Finch flag (and rebase in same PS sorry) #

Patch Set 4 : Fixed gyp/gn deps #

Total comments: 6

Patch Set 5 : Addressed nit #

Patch Set 6 : Rebase with master #

Patch Set 7 : renderer_features -> common_features. finch_h264_with_openh264_ffmpeg -> content/public/common/. #

Total comments: 2

Patch Set 8 : Renamed stuff, removing references to 'finch' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+117 lines, -30 lines) Patch
M chrome/browser/media/chrome_webrtc_browsertest.cc View 1 2 3 4 5 6 7 2 chunks +18 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M chrome/test/BUILD.gn View 1 2 3 4 5 6 7 2 chunks +2 lines, -0 lines 0 comments Download
M content/content.gyp View 1 2 3 4 5 6 7 5 chunks +18 lines, -5 lines 0 comments Download
M content/content_common.gypi View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M content/content_renderer.gypi View 1 2 3 4 5 6 7 2 chunks +1 line, -1 line 0 comments Download
M content/public/common/BUILD.gn View 1 2 3 4 5 6 7 2 chunks +18 lines, -0 lines 0 comments Download
A content/public/common/feature_h264_with_openh264_ffmpeg.h View 1 2 3 4 5 6 7 1 chunk +22 lines, -0 lines 0 comments Download
A content/public/common/feature_h264_with_openh264_ffmpeg.cc View 1 2 3 4 5 6 7 1 chunk +17 lines, -0 lines 0 comments Download
M content/public/renderer/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +4 lines, -1 line 0 comments Download
M content/renderer/BUILD.gn View 1 2 3 4 5 6 7 4 chunks +2 lines, -9 lines 0 comments Download
M content/renderer/media/webrtc/peer_connection_dependency_factory.cc View 1 2 3 4 5 6 7 3 chunks +13 lines, -14 lines 0 comments Download

Messages

Total messages: 76 (36 generated)
hbos_chromium
Please take a look, tommi. Will not land until we have green light to enable ...
4 years, 10 months ago (2016-02-08 15:22:54 UTC) #4
hbos_chromium
+jochen for the added DEPS content/renderer/renderer_features.h (remember https://codereview.chromium.org/1641163002/?).
4 years, 10 months ago (2016-02-08 15:26:19 UTC) #6
hbos_chromium
+phoglund for being closest OWNER of chrome_webrtc_browsertest.cc.
4 years, 10 months ago (2016-02-08 15:29:03 UTC) #8
phoglund_chromium
lgtm for browser test
4 years, 10 months ago (2016-02-08 16:12:44 UTC) #9
tommi (sloooow) - chröme
lgtm
4 years, 10 months ago (2016-02-08 18:45:56 UTC) #10
hbos_chromium
+avi for DEPS added (jochen being OOO). Can you take a look?
4 years, 10 months ago (2016-02-09 08:32:13 UTC) #12
Avi (use Gerrit)
If your build flags are not public content/ API, you need to rethink your build ...
4 years, 10 months ago (2016-02-09 16:45:03 UTC) #16
hbos_chromium
PTAL avi. https://codereview.chromium.org/1673183002/diff/1/chrome/browser/media/DEPS File chrome/browser/media/DEPS (right): https://codereview.chromium.org/1673183002/diff/1/chrome/browser/media/DEPS#newcode2 chrome/browser/media/DEPS:2: "+content/renderer/renderer_features.h", # For BUILDFLAG(RTC_USE_H264). On 2016/02/09 16:45:03, ...
4 years, 10 months ago (2016-02-10 09:48:08 UTC) #17
Avi (use Gerrit)
+jam, nick This is a bit beyond my knowledge of the build system. Right now ...
4 years, 10 months ago (2016-02-10 17:50:21 UTC) #19
ncarter (slow)
lgtm
4 years, 10 months ago (2016-02-10 18:35:22 UTC) #20
jam
On 2016/02/10 17:50:21, Avi wrote: > +jam, nick > > This is a bit beyond ...
4 years, 10 months ago (2016-02-10 18:35:56 UTC) #21
hbos_chromium
On 2016/02/10 18:35:56, jam wrote: > On 2016/02/10 17:50:21, Avi wrote: > > +jam, nick ...
4 years, 10 months ago (2016-02-10 20:39:38 UTC) #22
kjellander_chromium
On 2016/02/10 20:39:38, hbos_chromium wrote: > On 2016/02/10 18:35:56, jam wrote: > > On 2016/02/10 ...
4 years, 10 months ago (2016-02-10 20:43:52 UTC) #23
hbos_chromium
On 2016/02/10 20:43:52, kjellander (chromium) wrote: > On 2016/02/10 20:39:38, hbos_chromium wrote: > > On ...
4 years, 10 months ago (2016-02-10 20:57:10 UTC) #24
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1673183002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1673183002/20001
4 years, 10 months ago (2016-02-10 21:00:45 UTC) #26
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-02-10 21:19:15 UTC) #28
hbos_chromium
Should put it behind a Finch flag before landing though. Will update CL. Launch review ...
4 years, 10 months ago (2016-02-11 12:21:26 UTC) #30
jam
On 2016/02/10 20:57:10, hbos_chromium wrote: > On 2016/02/10 20:43:52, kjellander (chromium) wrote: > > On ...
4 years, 10 months ago (2016-02-11 21:39:57 UTC) #31
hbos_chromium
CL updated to include Finch flag. Please take a look jochen, and please take another ...
4 years, 10 months ago (2016-02-15 16:17:46 UTC) #43
tommi (sloooow) - chröme
lgtm
4 years, 10 months ago (2016-02-15 16:24:29 UTC) #44
hbos_chromium
PT(A)L jochen, phoglund.
4 years, 10 months ago (2016-02-16 08:51:55 UTC) #45
phoglund_chromium
lgtm, one nit https://codereview.chromium.org/1673183002/diff/180001/chrome/browser/media/chrome_webrtc_browsertest.cc File chrome/browser/media/chrome_webrtc_browsertest.cc (right): https://codereview.chromium.org/1673183002/diff/180001/chrome/browser/media/chrome_webrtc_browsertest.cc#newcode89 chrome/browser/media/chrome_webrtc_browsertest.cc:89: // Only run test if the ...
4 years, 10 months ago (2016-02-17 09:31:17 UTC) #46
hbos_chromium
Please take a look jochen. https://codereview.chromium.org/1673183002/diff/180001/chrome/browser/media/chrome_webrtc_browsertest.cc File chrome/browser/media/chrome_webrtc_browsertest.cc (right): https://codereview.chromium.org/1673183002/diff/180001/chrome/browser/media/chrome_webrtc_browsertest.cc#newcode89 chrome/browser/media/chrome_webrtc_browsertest.cc:89: // Only run test ...
4 years, 10 months ago (2016-02-17 10:28:24 UTC) #47
jochen (gone - plz use gerrit)
https://codereview.chromium.org/1673183002/diff/180001/chrome/browser/media/DEPS File chrome/browser/media/DEPS (right): https://codereview.chromium.org/1673183002/diff/180001/chrome/browser/media/DEPS#newcode2 chrome/browser/media/DEPS:2: "+content/public/renderer/renderer_features.h", # For BUILDFLAG(RTC_USE_H264) browser can't depend on renderer. ...
4 years, 10 months ago (2016-02-17 10:55:41 UTC) #48
hbos_chromium
Question for jochen / anyone who knows what is a more appropriate place to put ...
4 years, 10 months ago (2016-02-17 12:27:42 UTC) #49
jochen (gone - plz use gerrit)
On 2016/02/17 at 12:27:42, hbos wrote: > Question for jochen / anyone who knows what ...
4 years, 10 months ago (2016-02-17 12:36:26 UTC) #50
hbos_chromium
PTAL jochen. I moved the stuff from content/public/renderer/ to content/public/common/ (with appropriate renames). (Note: I ...
4 years, 10 months ago (2016-02-18 11:07:20 UTC) #52
hbos_chromium
+rkaplow for finch_h264_with_openh264_ffmpeg.[h/cc].
4 years, 10 months ago (2016-02-18 13:03:33 UTC) #54
jochen (gone - plz use gerrit)
lgtm https://codereview.chromium.org/1673183002/diff/260001/chrome/browser/media/DEPS File chrome/browser/media/DEPS (right): https://codereview.chromium.org/1673183002/diff/260001/chrome/browser/media/DEPS#newcode2 chrome/browser/media/DEPS:2: "+content/public/common", not needed (already allowed by chrome/DEPS)
4 years, 10 months ago (2016-02-18 15:18:09 UTC) #55
rkaplow
lgtm logic lg, but finch is a google-internal codename and ideally shouldn't be used externally ...
4 years, 10 months ago (2016-02-18 16:24:33 UTC) #56
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1673183002/280001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1673183002/280001
4 years, 10 months ago (2016-02-19 09:15:57 UTC) #60
hbos_chromium
OK, rename before landing. https://codereview.chromium.org/1673183002/diff/260001/chrome/browser/media/DEPS File chrome/browser/media/DEPS (right): https://codereview.chromium.org/1673183002/diff/260001/chrome/browser/media/DEPS#newcode2 chrome/browser/media/DEPS:2: "+content/public/common", On 2016/02/18 15:18:09, jochen ...
4 years, 10 months ago (2016-02-19 09:16:18 UTC) #61
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/182532)
4 years, 10 months ago (2016-02-19 09:40:43 UTC) #63
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1673183002/280001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1673183002/280001
4 years, 10 months ago (2016-02-19 09:43:37 UTC) #65
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/25696)
4 years, 10 months ago (2016-02-19 13:07:01 UTC) #67
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1673183002/280001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1673183002/280001
4 years, 10 months ago (2016-02-19 13:13:20 UTC) #69
commit-bot: I haz the power
Committed patchset #8 (id:280001)
4 years, 10 months ago (2016-02-19 16:19:43 UTC) #71
commit-bot: I haz the power
Patchset 8 (id:??) landed as https://crrev.com/82140fb2bbb534004ea49baa1f31aa8d9646775b Cr-Commit-Position: refs/heads/master@{#376451}
4 years, 10 months ago (2016-02-19 16:20:36 UTC) #73
Guido Urdaneta
A revert of this CL (patchset #8 id:280001) has been created in https://codereview.chromium.org/1715753002/ by guidou@chromium.org. ...
4 years, 10 months ago (2016-02-19 16:51:39 UTC) #75
hbos_chromium
4 years, 10 months ago (2016-02-22 08:09:35 UTC) #76
Message was sent while issue was closed.
Re-upload of this CL: https://codereview.chromium.org/1718883002/

Powered by Google App Engine
This is Rietveld 408576698