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-mediatracksettings | 5 // https://w3c.github.io/mediacapture-main/#idl-def-mediatracksettings |
6 | 6 |
7 dictionary MediaTrackSettings { | 7 dictionary MediaTrackSettings { |
8 long width; | 8 long width; |
9 long height; | 9 long height; |
10 double aspectRatio; | 10 double aspectRatio; |
11 double frameRate; | 11 double frameRate; |
12 DOMString facingMode; | 12 DOMString facingMode; |
13 // volume, sampleRate and sampleSize are not implemented. | 13 // volume, sampleRate and sampleSize are not implemented. |
14 // double volume; | 14 // double volume; |
15 // long sampleRate; | 15 // long sampleRate; |
16 // long sampleSize; | 16 // long sampleSize; |
17 // echoCancellation is not implemented: crbug.com/682245 | 17 boolean echoCancellation; |
18 // boolean echoCancellation; | |
19 // latency and channelCount are not implemented. | 18 // latency and channelCount are not implemented. |
20 // double latency; | 19 // double latency; |
21 // long channelCount; | 20 // long channelCount; |
22 DOMString deviceId; | 21 DOMString deviceId; |
23 // groupId is not implemented. | 22 // groupId is not implemented. |
24 // DOMString groupId; | 23 // DOMString groupId; |
25 // Media Capture Depth Stream Extensions | 24 // Media Capture Depth Stream Extensions |
26 // https://w3c.github.io/mediacapture-depth/#mediatracksettings-dictionary | 25 // https://w3c.github.io/mediacapture-depth/#mediatracksettings-dictionary |
27 // TODO(aleksandar.stojiljkovic): videoKind, depthNear, depthFar, | 26 // TODO(aleksandar.stojiljkovic): videoKind, depthNear, depthFar, |
28 // focalLengthX and focalLengthY attributes should be declared as partial | 27 // focalLengthX and focalLengthY attributes should be declared as partial |
(...skipping 14 matching lines...) Expand all Loading... |
43 [RuntimeEnabled=ImageCapture] double exposureCompensation; | 42 [RuntimeEnabled=ImageCapture] double exposureCompensation; |
44 [RuntimeEnabled=ImageCapture] double colorTemperature; | 43 [RuntimeEnabled=ImageCapture] double colorTemperature; |
45 [RuntimeEnabled=ImageCapture] double iso; | 44 [RuntimeEnabled=ImageCapture] double iso; |
46 [RuntimeEnabled=ImageCapture] double brightness; | 45 [RuntimeEnabled=ImageCapture] double brightness; |
47 [RuntimeEnabled=ImageCapture] double contrast; | 46 [RuntimeEnabled=ImageCapture] double contrast; |
48 [RuntimeEnabled=ImageCapture] double saturation; | 47 [RuntimeEnabled=ImageCapture] double saturation; |
49 [RuntimeEnabled=ImageCapture] double sharpness; | 48 [RuntimeEnabled=ImageCapture] double sharpness; |
50 [RuntimeEnabled=ImageCapture] double zoom; | 49 [RuntimeEnabled=ImageCapture] double zoom; |
51 [RuntimeEnabled=ImageCapture] boolean torch; | 50 [RuntimeEnabled=ImageCapture] boolean torch; |
52 }; | 51 }; |
OLD | NEW |