Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(365)

Side by Side Diff: third_party/WebKit/Source/modules/mediastream/MediaTrackSettings.idl

Issue 2748093002: Limit MediaTrackSettings to implemented features (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 // aspectRatio is not implemented.
11 // double aspectRatio;
11 double frameRate; 12 double frameRate;
12 DOMString facingMode; 13 DOMString facingMode;
13 double volume; 14 // volume, sampleRate and sampleSize are not implemented.
14 long sampleRate; 15 // double volume;
15 long sampleSize; 16 // long sampleRate;
16 boolean echoCancellation; 17 // long sampleSize;
17 double latency; 18 // echoCancellation is not implemented: crbug.com/682245
18 long channelCount; 19 // boolean echoCancellation;
20 // latency and channelCount are not implemented.
21 // double latency;
22 // long channelCount;
19 DOMString deviceId; 23 DOMString deviceId;
20 DOMString groupId; 24 // groupId is not implemented.
25 // DOMString groupId;
21 // Media Capture Depth Stream Extensions 26 // Media Capture Depth Stream Extensions
22 // https://w3c.github.io/mediacapture-depth/#mediatracksettings-dictionary 27 // https://w3c.github.io/mediacapture-depth/#mediatracksettings-dictionary
23 // TODO(aleksandar.stojiljkovic): videoKind, depthNear, depthFar, 28 // TODO(aleksandar.stojiljkovic): videoKind, depthNear, depthFar,
24 // focalLengthX and focalLengthY attributes should be declared as partial 29 // focalLengthX and focalLengthY attributes should be declared as partial
25 // dictionary but IDL parser can't support it yet. http://crbug.com/579896. 30 // dictionary but IDL parser can't support it yet. http://crbug.com/579896.
26 [RuntimeEnabled=MediaCaptureDepth] DOMString videoKind; 31 [RuntimeEnabled=MediaCaptureDepth] DOMString videoKind;
27 [RuntimeEnabled=MediaCaptureDepth] double depthNear; 32 [RuntimeEnabled=MediaCaptureDepth] double depthNear;
28 [RuntimeEnabled=MediaCaptureDepth] double depthFar; 33 [RuntimeEnabled=MediaCaptureDepth] double depthFar;
29 [RuntimeEnabled=MediaCaptureDepth] double focalLengthX; 34 [RuntimeEnabled=MediaCaptureDepth] double focalLengthX;
30 [RuntimeEnabled=MediaCaptureDepth] double focalLengthY; 35 [RuntimeEnabled=MediaCaptureDepth] double focalLengthY;
31 }; 36 };
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698