Bug 1842773 - Part 5: Add ArrayBuffer.prototype.{maxByteLength,resizable} getters...
[gecko.git] / dom / webidl / MediaTrackSettings.webidl
blob24642e063ec901457d12a152def59a27e6a25df2
1 /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3  * License, v. 2.0. If a copy of the MPL was not distributed with this file,
4  * You can obtain one at http://mozilla.org/MPL/2.0/.
5  *
6  * The origin of this IDL file is
7  * http://w3c.github.io/mediacapture-main/getusermedia.html
8  */
10 dictionary MediaTrackSettings {
11     long      width;
12     long      height;
13     double    frameRate;
14     DOMString facingMode;
15     boolean   echoCancellation;
16     boolean   autoGainControl;
17     boolean   noiseSuppression;
18     long      channelCount;
19     DOMString deviceId;
20     DOMString groupId;
22     // Mozilla-specific extensions:
24     // http://fluffy.github.io/w3c-screen-share/#screen-based-video-constraints
25     // OBE by http://w3c.github.io/mediacapture-screen-share
27     DOMString mediaSource;
29     // Experimental https://bugzilla.mozilla.org/show_bug.cgi?id=1131568#c3
30     //              https://bugzilla.mozilla.org/show_bug.cgi?id=1193075
32     long long browserWindow;
33     boolean scrollWithPage;
34     long viewportOffsetX;
35     long viewportOffsetY;
36     long viewportWidth;
37     long viewportHeight;