capture-handle-identity.idl (751B)
1 // GENERATED CONTENT - DO NOT EDIT 2 // Content was automatically extracted by Reffy into webref 3 // (https://github.com/w3c/webref) 4 // Source: Capture Handle - Bootstrapping Collaboration when Screensharing (https://w3c.github.io/mediacapture-handle/identity/) 5 6 dictionary CaptureHandleConfig { 7 boolean exposeOrigin = false; 8 DOMString handle = ""; 9 sequence<DOMString> permittedOrigins = []; 10 }; 11 12 partial interface MediaDevices { 13 undefined setCaptureHandleConfig(optional CaptureHandleConfig config = {}); 14 }; 15 16 dictionary CaptureHandle { 17 DOMString origin; 18 DOMString handle; 19 }; 20 21 partial interface MediaStreamTrack { 22 CaptureHandle? getCaptureHandle(); 23 }; 24 25 partial interface MediaStreamTrack { 26 attribute EventHandler oncapturehandlechange; 27 };