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

Issue 2985263002: Reland of RTCVideoEncoder: Report H264 profile information to WebRTC (Closed)

Created:
3 years, 4 months ago by magjed_chromium
Modified:
3 years, 4 months ago
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, posciak+watch_chromium.org, jam, feature-media-reviews_chromium.org, darin-cc_chromium.org, piman+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Reland of RTCVideoEncoder: Report H264 profile information to WebRTC (patchset #1 id:1 of https://codereview.chromium.org/2973253002/ ) Reason for revert: Update test to still use HW version of H264. Original issue's description: > Revert of TCVideoEncoder: Report H264 profile information to WebRTC (patchset #1 id:190001 of https://codereview.chromium.org/2548443002/ ) > > Reason for revert: > Reverting this since it's causing multiple perf regression on mac, looks like HW encode/decode might get disabled. > > Original issue's description: > > Reland of RTCVideoEncoder: Report H264 profile information to WebRTC (patchset #1 id:1 of https://codereview.chromium.org/2521923002/ ) > > > > Reason for revert: > > Try again. > > > > Original issue's description: > > > Revert of RTCVideoEncoder: Report H264 profile information to WebRTC (patchset #3 id:60001 of https://codereview.chromium.org/2499973002/ ) > > > > > > Reason for revert: > > > Causes these tests to fail on chromium.webrtc bots for Win and Mac: > > > WebRtcPerfBrowserTest.MANUAL_RunsAudioVideoCall60SecsAndLogsInternalMetricsH264 > > > WebRtcVideoQualityBrowserTests/WebRtcVideoQualityBrowserTest.MANUAL_TestVideoQualityH264 > > > https://build.chromium.org/p/chromium.webrtc/builders/Win8%20Tester/builds/30367 > > > https://build.chromium.org/p/chromium.webrtc/builders/Mac%20Tester/builds/62661 > > > > > > Original issue's description: > > > > RTCVideoEncoder: Report H264 profile information to WebRTC > > > > > > > > This CL updates RTCVideoEncoderFactory to report cricket::VideoCodecs > > > > instead of WebRtcVideoEncoderFactory::VideoCodecs. The H264 profile > > > > information is added to the cricket::VideoCodec so that WebRTC receives > > > > this information. Also, the mapping between media::VideoCodecProfiles > > > > and cricket::VideoCodecs is cached so that we can send the > > > > media::VideoCodecProfile to RTCVideoEncoder instead of having to deal > > > > with webrtc::VideoCodecType. > > > > > > > > BUG=webrtc:6337 > > > > > > > > Committed: https://crrev.com/510eddede44cb4b67c8f17fdd68cefb780a668c5 > > > > Cr-Commit-Position: refs/heads/master@{#433508} > > > > > > TBR=emircan@chromium.org,posciak@chromium.org > > > # Skipping CQ checks because original CL landed less than 1 days ago. > > > NOPRESUBMIT=true > > > NOTREECHECKS=true > > > NOTRY=true > > > BUG=webrtc:6337 > > > > > > Committed: https://crrev.com/c2564bc627cb950b124ac8e41bc5fd3187f7ad9c > > > Cr-Commit-Position: refs/heads/master@{#433828} > > > > TBR=emircan@chromium.org,posciak@chromium.org > > # Not skipping CQ checks because original CL landed more than 1 days ago. > > BUG=688541, 735959 > > > > Review-Url: https://codereview.chromium.org/2548443002 > > Cr-Commit-Position: refs/heads/master@{#484874} > > Committed: https://chromium.googlesource.com/chromium/src/+/829b1d57525c3c6549d18a2c85a96527d59ea5e9 > > TBR=emircan@chromium.org,magjed@chromium.org > # Skipping CQ checks because original CL landed less than 1 days ago. > NOPRESUBMIT=true > NOTREECHECKS=true > NOTRY=true > BUG=688541, 735959 > > Review-Url: https://codereview.chromium.org/2973253002 > Cr-Commit-Position: refs/heads/master@{#484960} > Committed: https://chromium.googlesource.com/chromium/src/+/df6e5a5c7e7c665603f9619930a1d7106b55160d TBR=emircan@chromium.org,niklase@chromium.org,phoglund@chromium.org # Not skipping CQ checks because original CL landed more than 1 days ago. BUG=688541, 735959 Review-Url: https://codereview.chromium.org/2985263002 Cr-Commit-Position: refs/heads/master@{#491338} Committed: https://chromium.googlesource.com/chromium/src/+/4d10d214a1783c08dd1fb887600e408d87f520e3

Patch Set 1 #

Patch Set 2 : Fix tests #

Total comments: 4

Patch Set 3 : Update comments #

Patch Set 4 : Add default argument to SetDefaultVideoCodec #

Unified diffs Side-by-side diffs Delta from patch set Stats (+236 lines, -121 lines) Patch
M chrome/browser/media/webrtc/webrtc_browsertest.cc View 1 5 chunks +13 lines, -12 lines 0 comments Download
M chrome/browser/media/webrtc/webrtc_browsertest_base.h View 1 2 3 1 chunk +6 lines, -1 line 0 comments Download
M chrome/browser/media/webrtc/webrtc_browsertest_base.cc View 1 1 chunk +7 lines, -5 lines 0 comments Download
M chrome/browser/media/webrtc/webrtc_internals_perf_browsertest.cc View 1 5 chunks +12 lines, -8 lines 0 comments Download
M chrome/browser/media/webrtc/webrtc_stats_perf_browsertest.cc View 1 6 chunks +34 lines, -15 lines 0 comments Download
M chrome/browser/media/webrtc/webrtc_video_quality_browsertest.cc View 1 4 chunks +7 lines, -6 lines 0 comments Download
M chrome/test/data/webrtc/munge_sdp.js View 1 2 4 chunks +47 lines, -24 lines 0 comments Download
M chrome/test/data/webrtc/peerconnection.js View 1 3 chunks +14 lines, -2 lines 0 comments Download
M content/renderer/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/media/gpu/rtc_video_encoder.h View 1 2 chunks +2 lines, -3 lines 0 comments Download
M content/renderer/media/gpu/rtc_video_encoder.cc View 1 4 chunks +16 lines, -30 lines 0 comments Download
M content/renderer/media/gpu/rtc_video_encoder_factory.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M content/renderer/media/gpu/rtc_video_encoder_factory.cc View 1 3 chunks +61 lines, -14 lines 0 comments Download
M content/renderer/media/gpu/rtc_video_encoder_unittest.cc View 1 1 chunk +13 lines, -1 line 0 comments Download

Messages

Total messages: 21 (15 generated)
magjed_chromium
Created Reland of TCVideoEncoder: Report H264 profile information to WebRTC
3 years, 4 months ago (2017-07-28 09:20:00 UTC) #1
magjed_chromium
Emircan - please take a look. This will keep the perf tests happy. We will ...
3 years, 4 months ago (2017-07-31 17:48:25 UTC) #5
emircan
lgtm % nits. Btw I am still confused by the Android using SW over HW ...
3 years, 4 months ago (2017-08-02 03:42:22 UTC) #8
magjed_chromium
On 2017/08/02 03:42:22, emircan wrote: > lgtm % nits. > > Btw I am still ...
3 years, 4 months ago (2017-08-02 08:51:15 UTC) #9
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/2985263002/230001
3 years, 4 months ago (2017-08-02 11:52:20 UTC) #18
commit-bot: I haz the power
3 years, 4 months ago (2017-08-02 11:56:24 UTC) #21
Message was sent while issue was closed.
Committed patchset #4 (id:230001) as
https://chromium.googlesource.com/chromium/src/+/4d10d214a1783c08dd1fb887600e...

Powered by Google App Engine
This is Rietveld 408576698