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 [RuntimeEnabled=MediaGetSettings] | |
8 dictionary MediaTrackSettings { | 7 dictionary MediaTrackSettings { |
9 long width; | 8 long width; |
10 long height; | 9 long height; |
11 double aspectRatio; | 10 double aspectRatio; |
12 double frameRate; | 11 double frameRate; |
13 DOMString facingMode; | 12 DOMString facingMode; |
14 double volume; | 13 double volume; |
15 long sampleRate; | 14 long sampleRate; |
16 long sampleSize; | 15 long sampleSize; |
17 boolean echoCancellation; | 16 boolean echoCancellation; |
18 double latency; | 17 double latency; |
19 long channelCount; | 18 long channelCount; |
20 DOMString deviceId; | 19 DOMString deviceId; |
21 DOMString groupId; | 20 DOMString groupId; |
22 }; | 21 }; |
OLD | NEW |