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/#idl-def-mediatracksupportedconstrain
ts | 5 // https://w3c.github.io/mediacapture-main/#idl-def-mediatracksupportedconstrain
ts |
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] | |
11 dictionary MediaTrackSupportedConstraints { | 10 dictionary MediaTrackSupportedConstraints { |
12 boolean width = true; | 11 boolean width = true; |
13 boolean height = true; | 12 boolean height = true; |
14 boolean aspectRatio = true; | 13 boolean aspectRatio = true; |
15 boolean frameRate = true; | 14 boolean frameRate = true; |
16 boolean facingMode = true; | 15 boolean facingMode = true; |
17 boolean volume = true; | 16 boolean volume = true; |
18 boolean sampleRate = true; | 17 boolean sampleRate = true; |
19 boolean sampleSize = true; | 18 boolean sampleSize = true; |
20 boolean echoCancellation = true; | 19 boolean echoCancellation = true; |
21 boolean latency = true; | 20 boolean latency = true; |
22 boolean channelCount = true; | 21 boolean channelCount = true; |
23 boolean deviceId = true; | 22 boolean deviceId = true; |
24 boolean groupId = true; | 23 boolean groupId = true; |
25 }; | 24 }; |
OLD | NEW |