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

Issue 2922013002: Update constraints processing for video content capture. (Closed)

Created:
3 years, 6 months ago by Guido Urdaneta
Modified:
3 years, 6 months ago
Reviewers:
miu
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, mfoltz+watch_chromium.org, isheriff+watch_chromium.org, miu+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Update constraints processing for video content capture. The computation for refresh interval for content capture produces bad results if it uses the implicit min/max range for frame rate produced by the new spec-compliant algorithm. This patch updates the spec-compliant constraints algorithm to provide indication if the frame-rate range was explicitly set by constraints. MediaStreamVideoWebRtcSink is updated to use the frame-rate min/max values to compute the refresh intervals only if they were explicitly set by constrains, as was the case before the new constrains algorithm was introduced. BUG=729746 Review-Url: https://codereview.chromium.org/2922013002 Cr-Commit-Position: refs/heads/master@{#478101} Committed: https://chromium.googlesource.com/chromium/src/+/303a5bbadb90b69780a86b10d5284ffc4c1dc165

Patch Set 1 #

Patch Set 2 : review comments #

Patch Set 3 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+103 lines, -35 lines) Patch
M content/renderer/media/media_stream_constraints_util.h View 4 chunks +12 lines, -5 lines 0 comments Download
M content/renderer/media/media_stream_constraints_util.cc View 1 chunk +6 lines, -3 lines 0 comments Download
M content/renderer/media/media_stream_constraints_util_video_content.cc View 1 2 6 chunks +19 lines, -1 line 0 comments Download
M content/renderer/media/media_stream_constraints_util_video_content_unittest.cc View 1 2 15 chunks +33 lines, -4 lines 0 comments Download
M content/renderer/media/media_stream_constraints_util_video_device.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M content/renderer/media/media_stream_video_track.h View 4 chunks +9 lines, -4 lines 0 comments Download
M content/renderer/media/media_stream_video_track.cc View 3 chunks +2 lines, -3 lines 0 comments Download
M content/renderer/media/webrtc/media_stream_video_webrtc_sink.cc View 1 3 chunks +20 lines, -13 lines 0 comments Download

Messages

Total messages: 30 (20 generated)
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/2922013002/1
3 years, 6 months ago (2017-06-03 02:32:48 UTC) #2
commit-bot: I haz the power
No L-G-T-M from a valid reviewer yet. CQ run can only be started once the ...
3 years, 6 months ago (2017-06-03 02:32:49 UTC) #4
Guido Urdaneta
Hi, PTAL
3 years, 6 months ago (2017-06-03 03:52:46 UTC) #10
miu
lgtm % issue about "zero min framerate": We were discussing on the crbug what to ...
3 years, 6 months ago (2017-06-05 20:14:28 UTC) #11
Guido Urdaneta
On 2017/06/05 20:14:28, miu wrote: > lgtm % issue about "zero min framerate": > > ...
3 years, 6 months ago (2017-06-05 21:19:34 UTC) #12
miu
On 2017/06/05 21:19:34, Guido Urdaneta wrote: > For device capture there is already a minimum ...
3 years, 6 months ago (2017-06-06 22:00:08 UTC) #14
Guido Urdaneta
On 2017/06/06 22:00:08, miu wrote: > On 2017/06/05 21:19:34, Guido Urdaneta wrote: > > For ...
3 years, 6 months ago (2017-06-07 10:32:24 UTC) #15
Guido Urdaneta
I'm going to land the patch, since it is orthogonal to the discussion on what ...
3 years, 6 months ago (2017-06-08 22:05:52 UTC) #24
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/2922013002/40001
3 years, 6 months ago (2017-06-08 22:06:26 UTC) #27
commit-bot: I haz the power
3 years, 6 months ago (2017-06-08 22:14:18 UTC) #30
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/303a5bbadb90b69780a86b10d528...

Powered by Google App Engine
This is Rietveld 408576698