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

Issue 2940553005: Remove support for some device constraints from SelectSettings. (Closed)

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

Description

Remove support for some device constraints from SelectSettings. This CL removes support for the sampleRate, sampleSize and channelCount constraints from SelectSettingsAudioCapture, to be used by getUserMedia. Reasons: * Support was limited to aid in device selection. Setting track parameters was not supported. * The device selection code considered only the capabilities of the device as reported by its native hardware parameters but it did not consider extra capabilities that can be added by software (e.g., resampling, converting a stereo track to mono, etc.). Not taking this into account could lead to spec violations since the final settings of a track might differ from the hardware settings of the device used to produce the track. Proper integration of these constraints is being tracked by crbug.com/731170. This CL also has a couple of minor drive-by fixes. BUG=657733 Review-Url: https://codereview.chromium.org/2940553005 Cr-Commit-Position: refs/heads/master@{#480531} Committed: https://chromium.googlesource.com/chromium/src/+/08158e579c68b88587555a4338ca39d20a4c3fab

Patch Set 1 #

Total comments: 3

Messages

Total messages: 18 (13 generated)
Guido Urdaneta
Hi, PTAL
3 years, 6 months ago (2017-06-13 21:09:08 UTC) #7
hbos_chromium
lgtm https://codereview.chromium.org/2940553005/diff/1/content/renderer/media/media_stream_constraints_util_audio_unittest.cc File content/renderer/media/media_stream_constraints_util_audio_unittest.cc (left): https://codereview.chromium.org/2940553005/diff/1/content/renderer/media/media_stream_constraints_util_audio_unittest.cc#oldcode1150 content/renderer/media/media_stream_constraints_util_audio_unittest.cc:1150: TEST_P(MediaStreamConstraintsUtilAudioTest, AdvancedSelfConflictingConstraint) { Conflicting constraints is still useful ...
3 years, 6 months ago (2017-06-16 15:58:39 UTC) #8
Guido Urdaneta
https://codereview.chromium.org/2940553005/diff/1/content/renderer/media/media_stream_constraints_util_audio_unittest.cc File content/renderer/media/media_stream_constraints_util_audio_unittest.cc (left): https://codereview.chromium.org/2940553005/diff/1/content/renderer/media/media_stream_constraints_util_audio_unittest.cc#oldcode1150 content/renderer/media/media_stream_constraints_util_audio_unittest.cc:1150: TEST_P(MediaStreamConstraintsUtilAudioTest, AdvancedSelfConflictingConstraint) { On 2017/06/16 15:58:39, hbos_chromium wrote: > ...
3 years, 6 months ago (2017-06-16 16:09:19 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/2940553005/1
3 years, 6 months ago (2017-06-19 18:38:35 UTC) #15
commit-bot: I haz the power
3 years, 6 months ago (2017-06-19 19:37:58 UTC) #18
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/08158e579c68b88587555a4338ca...

Powered by Google App Engine
This is Rietveld 408576698