summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/interfaces/capture-handle-identity.idl
blob: 37b2c61dac94c1d571aa2f6afad24ca01696478b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// GENERATED CONTENT - DO NOT EDIT
// Content was automatically extracted by Reffy into webref
// (https://github.com/w3c/webref)
// Source: Capture Handle - Bootstrapping Collaboration when Screensharing (https://w3c.github.io/mediacapture-handle/identity/)

dictionary CaptureHandleConfig {
  boolean exposeOrigin = false;
  DOMString handle = "";
  sequence<DOMString> permittedOrigins = [];
};

partial interface MediaDevices {
  undefined setCaptureHandleConfig(optional CaptureHandleConfig config = {});
};

dictionary CaptureHandle {
  DOMString origin;
  DOMString handle;
};

partial interface MediaStreamTrack {
  CaptureHandle? getCaptureHandle();
};

partial interface MediaStreamTrack {
  attribute EventHandler oncapturehandlechange;
};