| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // https://w3c.github.io/mediacapture-main/getusermedia.html#idl-def-MediaTrackS
upportedConstraints | 5 // https://w3c.github.io/mediacapture-main/getusermedia.html#idl-def-MediaTrackS
upportedConstraints |
| 6 | 6 |
| 7 // NOTE: The names of this dictionary MUST be kept aligned with those in | 7 // NOTE: The names of this dictionary MUST be kept aligned with those in |
| 8 // MediaTrackConstraintSet.idl. | 8 // MediaTrackConstraintSet.idl. |
| 9 | 9 |
| 10 [RuntimeEnabled=MediaConstraints] | 10 [RuntimeEnabled=MediaConstraints] |
| 11 dictionary MediaTrackSupportedConstraints { | 11 dictionary MediaTrackSupportedConstraints { |
| 12 boolean width = true; | 12 boolean width = true; |
| 13 boolean height = true; | 13 boolean height = true; |
| 14 boolean aspectRatio = true; | 14 boolean aspectRatio = true; |
| 15 boolean frameRate = true; | 15 boolean frameRate = true; |
| 16 boolean facingMode = true; | 16 boolean facingMode = true; |
| 17 boolean volume = true; | 17 boolean volume = true; |
| 18 boolean sampleRate = true; | 18 boolean sampleRate = true; |
| 19 boolean sampleSize = true; | 19 boolean sampleSize = true; |
| 20 boolean echoCancellation = true; | 20 boolean echoCancellation = true; |
| 21 boolean latency = true; | 21 boolean latency = true; |
| 22 boolean channelCount = true; | 22 boolean channelCount = true; |
| 23 boolean deviceId = true; | 23 boolean deviceId = true; |
| 24 boolean groupId = true; | 24 boolean groupId = true; |
| 25 }; | 25 }; |
| OLD | NEW |