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

Issue 2806703002: Update constraints algorithm for video content capture. (Closed)

Created:
3 years, 8 months ago by Guido Urdaneta
Modified:
3 years, 8 months ago
Reviewers:
hbos_chromium
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, imcheng+watch_chromium.org, feature-media-reviews_chromium.org, posciak+watch_chromium.org, chfremer+watch_chromium.org, jam, avayvod+watch_chromium.org, darin-cc_chromium.org, jasonroberts+watch_google.com, xjz+watch_chromium.org, isheriff+watch_chromium.org, miu+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Update constraints algorithm for video content capture. 1. Update default from 640x480 to 2880x1800. The goal is to use the native screen resolution as default, but this is an improvement over the current situation. 2. If a maximum resolution constraint is given, use that as default instead of the hardcoded default. This makes the algorithm more compatible with existing applications without breaking compatibility with the spec. BUG=257097, 709345 Review-Url: https://codereview.chromium.org/2806703002 Cr-Commit-Position: refs/heads/master@{#462876} Committed: https://chromium.googlesource.com/chromium/src/+/258527ddc93825a5feac1bd3de5f5efb8d975856

Patch Set 1 #

Patch Set 2 : remove obsolete comment #

Total comments: 4

Patch Set 3 : re-add tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+247 lines, -265 lines) Patch
M content/renderer/media/media_stream_constraints_util_video_content.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/media/media_stream_constraints_util_video_content.cc View 1 2 chunks +28 lines, -7 lines 0 comments Download
M content/renderer/media/media_stream_constraints_util_video_content_unittest.cc View 1 2 30 chunks +218 lines, -258 lines 0 comments Download

Messages

Total messages: 13 (8 generated)
Guido Urdaneta
Hi, PTAL
3 years, 8 months ago (2017-04-07 12:22:50 UTC) #5
hbos_chromium
lgtm https://codereview.chromium.org/2806703002/diff/20001/content/renderer/media/media_stream_constraints_util_video_content_unittest.cc File content/renderer/media/media_stream_constraints_util_video_content_unittest.cc (right): https://codereview.chromium.org/2806703002/diff/20001/content/renderer/media/media_stream_constraints_util_video_content_unittest.cc#newcode303 content/renderer/media/media_stream_constraints_util_video_content_unittest.cc:303: // kSmallHeight is less that the default, so ...
3 years, 8 months ago (2017-04-07 13:16:30 UTC) #6
Guido Urdaneta
https://codereview.chromium.org/2806703002/diff/20001/content/renderer/media/media_stream_constraints_util_video_content_unittest.cc File content/renderer/media/media_stream_constraints_util_video_content_unittest.cc (right): https://codereview.chromium.org/2806703002/diff/20001/content/renderer/media/media_stream_constraints_util_video_content_unittest.cc#newcode303 content/renderer/media/media_stream_constraints_util_video_content_unittest.cc:303: // kSmallHeight is less that the default, so expect ...
3 years, 8 months ago (2017-04-07 15:05:19 UTC) #7
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/2806703002/40001
3 years, 8 months ago (2017-04-07 15:05:44 UTC) #10
commit-bot: I haz the power
3 years, 8 months ago (2017-04-07 16:01:39 UTC) #13
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/258527ddc93825a5feac1bd3de5f...

Powered by Google App Engine
This is Rietveld 408576698