tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

MediaTrackSettings.webidl (1225B)


      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 */
      9 
     10 dictionary MediaTrackSettings {
     11    long      width;
     12    long      height;
     13    double    frameRate;
     14    DOMString facingMode;
     15    DOMString resizeMode;
     16    boolean   echoCancellation;
     17    boolean   autoGainControl;
     18    boolean   noiseSuppression;
     19    long      channelCount;
     20    DOMString deviceId;
     21    DOMString groupId;
     22 
     23    // Mozilla-specific extensions:
     24 
     25    // http://fluffy.github.io/w3c-screen-share/#screen-based-video-constraints
     26    // OBE by http://w3c.github.io/mediacapture-screen-share
     27 
     28    DOMString mediaSource;
     29 
     30    // Experimental https://bugzilla.mozilla.org/show_bug.cgi?id=1131568#c3
     31    //              https://bugzilla.mozilla.org/show_bug.cgi?id=1193075
     32 
     33    long long browserWindow;
     34    boolean scrollWithPage;
     35    long viewportOffsetX;
     36    long viewportOffsetY;
     37    long viewportWidth;
     38    long viewportHeight;
     39 };