tor-browser

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

mediacapture-automation.idl (1016B)


      1 // GENERATED CONTENT - DO NOT EDIT
      2 // Content was automatically extracted by Reffy into webref
      3 // (https://github.com/w3c/webref)
      4 // Source: Media Capture Automation (https://w3c.github.io/mediacapture-automation/)
      5 
      6 enum MockCapturePromptResult {
      7  "granted",
      8  "denied"
      9 };
     10 
     11 dictionary MockCapturePromptResultConfiguration {
     12  MockCapturePromptResult getUserMedia;
     13  MockCapturePromptResult getDisplayMedia;
     14 };
     15 
     16 dictionary MockCaptureDeviceConfiguration {
     17  DOMString label;
     18  DOMString deviceId;
     19  DOMString groupId;
     20 };
     21 
     22 dictionary MockCameraConfiguration : MockCaptureDeviceConfiguration {
     23  double defaultFrameRate = 30;
     24  DOMString facingMode = "user";
     25  // TODO: Add more capabilities parameters like:
     26  // ULongRange width;
     27  // ULongRange height;
     28  // DoubleRange frameRate;
     29 };
     30 
     31 dictionary MockMicrophoneConfiguration : MockCaptureDeviceConfiguration {
     32  unsigned long defaultSampleRate = 44100;
     33  // TODO: Add more capabilities parameters like:
     34  // ULongRange sampleRate;
     35  // sequence echoCancellation;
     36 };