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

Issue 2623353004: RELAND: MediaRecorder: use VideoTrackRecorder::GetPreferredCodecId() when available (Closed)

Created:
3 years, 11 months ago by mcasas
Modified:
3 years, 11 months ago
Reviewers:
emircan
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, posciak+watch_chromium.org, chfremer+watch_chromium.org, jam, feature-media-reviews_chromium.org, darin-cc_chromium.org, mcasas+watch+vc_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

RELAND: MediaRecorder: use VideoTrackRecorder::GetPreferredCodecId() when available Original CL got reverted due to 2 LayoutTests failing in a single bot: (Mac Retina bot) fast/mediacapturefromelement/HTMLMediaElementCapture-capture.html fast/mediacapturefromelement/CanvasCaptureMediaStream-framerate-0.html This bot compiles with no proprietary codecs. H264 was selected as potentially accelerated by the platform (correct) but H264 was not enabled in this platform, so we hit a DCHECK(). This CL makes sure that H264 is not considered if #if BUILDFLAG(RTC_USE_H264 is false. Original CL description ------------------------------------------------ MediaRecorder: use VideoTrackRecorder::GetPreferredCodecId() when available This CL adds a static method to VTR to query which one, if any, is the preferred video codec. A new singleton Lazy Leaky class CodecEnumerator is added to encapsulate poking the VEA to see which codecs are supported, and to further query a) the preferred codec id b) if a given codec is supported and wraps the previous CodecIdToVEAProfile() functionality. BUG=679946 Review-Url: https://codereview.chromium.org/2623353004 Cr-Commit-Position: refs/heads/master@{#443400} Committed: https://chromium.googlesource.com/chromium/src/+/05574f4462f910edf41883479fcffabc21e2198f

Patch Set 1 : https://codereview.chromium.org/2624053002/ #

Patch Set 2 : Avoid H264 if !BUILDFLAG(RTC_USE_H264) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+101 lines, -39 lines) Patch
M content/browser/webrtc/webrtc_media_recorder_browsertest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/media/media_recorder_handler.cc View 1 3 chunks +10 lines, -2 lines 0 comments Download
M content/renderer/media/video_track_recorder.h View 1 2 chunks +6 lines, -0 lines 0 comments Download
M content/renderer/media/video_track_recorder.cc View 1 4 chunks +84 lines, -37 lines 0 comments Download

Messages

Total messages: 13 (9 generated)
mcasas
emircan@ PTAL
3 years, 11 months ago (2017-01-12 22:36:57 UTC) #4
emircan
lgtm
3 years, 11 months ago (2017-01-12 22:39:26 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/2623353004/20001
3 years, 11 months ago (2017-01-12 23:43:04 UTC) #10
commit-bot: I haz the power
3 years, 11 months ago (2017-01-13 00:12:25 UTC) #13
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/05574f4462f910edf41883479fcf...

Powered by Google App Engine
This is Rietveld 408576698