DescriptionRemove 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
Depends on Patchset: Dependent Patchsets: Messages
Total messages: 18 (13 generated)
|