@webref/idl 3.29.0 → 3.31.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ANGLE_instanced_arrays.idl +12 -0
- package/CSP.idl +56 -0
- package/DOM-Parsing.idl +26 -0
- package/EXT_blend_minmax.idl +10 -0
- package/EXT_color_buffer_float.idl +8 -0
- package/EXT_color_buffer_half_float.idl +12 -0
- package/EXT_disjoint_timer_query.idl +30 -0
- package/EXT_disjoint_timer_query_webgl2.idl +14 -0
- package/EXT_float_blend.idl +8 -0
- package/EXT_frag_depth.idl +8 -0
- package/EXT_sRGB.idl +12 -0
- package/EXT_shader_texture_lod.idl +8 -0
- package/EXT_texture_compression_bptc.idl +12 -0
- package/EXT_texture_compression_rgtc.idl +12 -0
- package/EXT_texture_filter_anisotropic.idl +10 -0
- package/EXT_texture_norm16.idl +16 -0
- package/FedCM.idl +67 -0
- package/FileAPI.idl +100 -0
- package/IndexedDB.idl +226 -0
- package/KHR_parallel_shader_compile.idl +9 -0
- package/OES_draw_buffers_indexed.idl +26 -0
- package/OES_element_index_uint.idl +8 -0
- package/OES_fbo_render_mipmap.idl +8 -0
- package/OES_standard_derivatives.idl +9 -0
- package/OES_texture_float.idl +7 -0
- package/OES_texture_float_linear.idl +7 -0
- package/OES_texture_half_float.idl +9 -0
- package/OES_texture_half_float_linear.idl +7 -0
- package/OES_vertex_array_object.idl +18 -0
- package/OVR_multiview2.idl +14 -0
- package/SVG.idl +693 -0
- package/WEBGL_blend_equation_advanced_coherent.idl +23 -0
- package/WEBGL_clip_cull_distance.idl +20 -0
- package/WEBGL_color_buffer_float.idl +11 -0
- package/WEBGL_compressed_texture_astc.idl +41 -0
- package/WEBGL_compressed_texture_etc.idl +19 -0
- package/WEBGL_compressed_texture_etc1.idl +10 -0
- package/WEBGL_compressed_texture_pvrtc.idl +13 -0
- package/WEBGL_compressed_texture_s3tc.idl +13 -0
- package/WEBGL_compressed_texture_s3tc_srgb.idl +13 -0
- package/WEBGL_debug_renderer_info.idl +12 -0
- package/WEBGL_debug_shaders.idl +11 -0
- package/WEBGL_depth_texture.idl +9 -0
- package/WEBGL_draw_buffers.idl +46 -0
- package/WEBGL_draw_instanced_base_vertex_base_instance.idl +14 -0
- package/WEBGL_lose_context.idl +10 -0
- package/WEBGL_multi_draw.idl +32 -0
- package/WEBGL_multi_draw_instanced_base_vertex_base_instance.idl +26 -0
- package/WEBGL_provoking_vertex.idl +13 -0
- package/WebCryptoAPI.idl +237 -0
- package/accelerometer.idl +40 -0
- package/ambient-light.idl +14 -0
- package/anchors.idl +37 -0
- package/attribution-reporting-api.idl +12 -0
- package/audio-output.idl +17 -0
- package/autoplay-detection.idl +19 -0
- package/background-fetch.idl +89 -0
- package/background-sync.idl +30 -0
- package/badging.idl +15 -0
- package/battery-status.idl +21 -0
- package/beacon.idl +8 -0
- package/capture-handle-identity.idl +27 -0
- package/clipboard-apis.idl +51 -0
- package/close-watcher.idl +19 -0
- package/compat.idl +13 -0
- package/compression.idl +22 -0
- package/compute-pressure.idl +37 -0
- package/console.idl +34 -0
- package/contact-picker.idl +44 -0
- package/content-index.idl +46 -0
- package/cookie-store.idl +110 -0
- package/crash-reporting.idl +10 -0
- package/credential-management.idl +105 -0
- package/csp-embedded-enforcement.idl +8 -0
- package/csp-next.idl +21 -0
- package/css-animation-worklet.idl +37 -0
- package/css-animations-2.idl +9 -0
- package/css-animations.idl +47 -0
- package/css-cascade-6.idl +10 -0
- package/css-cascade.idl +18 -0
- package/css-color-5.idl +12 -0
- package/css-conditional.idl +27 -0
- package/css-contain-3.idl +10 -0
- package/css-contain.idl +13 -0
- package/css-counter-styles.idl +23 -0
- package/css-font-loading.idl +134 -0
- package/css-fonts.idl +36 -0
- package/css-highlight-api.idl +27 -0
- package/css-images-4.idl +8 -0
- package/css-layout-api.idl +144 -0
- package/css-masking.idl +20 -0
- package/css-nav.idl +48 -0
- package/css-nesting.idl +10 -0
- package/css-paint-api.idl +39 -0
- package/css-parser-api.idl +76 -0
- package/css-properties-values-api.idl +23 -0
- package/css-pseudo.idl +16 -0
- package/css-regions.idl +29 -0
- package/css-shadow-parts.idl +8 -0
- package/css-transitions-2.idl +9 -0
- package/css-transitions.idl +25 -0
- package/css-typed-om.idl +423 -0
- package/css-view-transitions.idl +18 -0
- package/cssom-view.idl +200 -0
- package/cssom.idl +159 -0
- package/custom-state-pseudo-class.idl +14 -0
- package/datacue.idl +12 -0
- package/deprecation-reporting.idl +15 -0
- package/device-memory.idl +14 -0
- package/device-posture.idl +21 -0
- package/digital-goods.idl +44 -0
- package/dom.idl +609 -0
- package/edit-context.idl +111 -0
- package/element-timing.idl +22 -0
- package/encoding.idl +59 -0
- package/encrypted-media.idl +125 -0
- package/entries-api.idl +71 -0
- package/event-timing.idl +29 -0
- package/eyedropper-api.idl +18 -0
- package/fenced-frame.idl +49 -0
- package/fetch.idl +117 -0
- package/fido.idl +47 -0
- package/file-system-access.idl +72 -0
- package/filter-effects.idl +341 -0
- package/font-metrics-api.idl +42 -0
- package/fs.idl +93 -0
- package/fullscreen.idl +35 -0
- package/gamepad-extensions.idl +71 -0
- package/gamepad.idl +49 -0
- package/generic-sensor.idl +60 -0
- package/geolocation-sensor.idl +47 -0
- package/geolocation.idl +65 -0
- package/geometry.idl +290 -0
- package/get-installed-related-apps.idl +16 -0
- package/gpc-spec.idl +10 -0
- package/gyroscope.idl +24 -0
- package/hr-time.idl +19 -0
- package/html-media-capture.idl +8 -0
- package/html.idl +2717 -0
- package/idle-detection.idl +31 -0
- package/image-capture.idl +160 -0
- package/image-resource.idl +11 -0
- package/ink-enhancement.idl +32 -0
- package/input-device-capabilities.idl +24 -0
- package/input-events.idl +14 -0
- package/intersection-observer.idl +46 -0
- package/intervention-reporting.idl +14 -0
- package/is-input-pending.idl +16 -0
- package/js-self-profiling.idl +44 -0
- package/keyboard-lock.idl +14 -0
- package/keyboard-map.idl +15 -0
- package/largest-contentful-paint.idl +15 -0
- package/layout-instability.idl +20 -0
- package/local-font-access.idl +24 -0
- package/longtasks.idl +19 -0
- package/magnetometer.idl +46 -0
- package/manifest-incubations.idl +24 -0
- package/mathml-core.idl +9 -0
- package/media-capabilities.idl +115 -0
- package/media-playback-quality.idl +18 -0
- package/media-source.idl +91 -0
- package/mediacapture-automation.idl +36 -0
- package/mediacapture-fromelement.idl +17 -0
- package/mediacapture-handle-actions.idl +31 -0
- package/mediacapture-region.idl +15 -0
- package/mediacapture-streams.idl +248 -0
- package/mediacapture-transform.idl +23 -0
- package/mediacapture-viewport.idl +14 -0
- package/mediasession.idl +84 -0
- package/mediastream-recording.idl +60 -0
- package/model-element.idl +9 -0
- package/mst-content-hint.idl +18 -0
- package/navigation-timing.idl +71 -0
- package/netinfo.idl +43 -0
- package/notifications.idl +100 -0
- package/orientation-event.idl +76 -0
- package/orientation-sensor.idl +35 -0
- package/package.json +1 -1
- package/page-lifecycle.idl +19 -0
- package/paint-timing.idl +7 -0
- package/payment-handler.idl +131 -0
- package/payment-request.idl +112 -0
- package/performance-measure-memory.idl +30 -0
- package/performance-timeline.idl +49 -0
- package/periodic-background-sync.idl +34 -0
- package/permissions-policy.idl +28 -0
- package/permissions-request.idl +8 -0
- package/permissions-revoke.idl +8 -0
- package/permissions.idl +41 -0
- package/picture-in-picture.idl +41 -0
- package/pointerevents.idl +64 -0
- package/pointerlock.idl +28 -0
- package/portals.idl +50 -0
- package/prefer-current-tab.idl +8 -0
- package/prerendering-revamped.idl +15 -0
- package/presentation-api.idl +95 -0
- package/private-click-measurement.idl +8 -0
- package/proximity.idl +18 -0
- package/push-api.idl +93 -0
- package/raw-camera-access.idl +18 -0
- package/referrer-policy.idl +16 -0
- package/remote-playback.idl +32 -0
- package/reporting.idl +39 -0
- package/requestStorageAccessFor.idl +12 -0
- package/requestidlecallback.idl +20 -0
- package/resize-observer.idl +37 -0
- package/resource-timing.idl +40 -0
- package/sanitizer-api.idl +38 -0
- package/savedata.idl +10 -0
- package/scheduling-apis.idl +11 -0
- package/screen-capture.idl +85 -0
- package/screen-orientation.idl +35 -0
- package/screen-wake-lock.idl +24 -0
- package/scroll-animations.idl +41 -0
- package/scroll-to-text-fragment.idl +12 -0
- package/secure-payment-confirmation.idl +48 -0
- package/selection-api.idl +46 -0
- package/serial.idl +85 -0
- package/server-timing.idl +17 -0
- package/service-workers.idl +220 -0
- package/shape-detection-api.idl +69 -0
- package/speech-api.idl +202 -0
- package/storage-access.idl +9 -0
- package/storage.idl +25 -0
- package/streams.idl +222 -0
- package/svg-animations.idl +68 -0
- package/testutils.idl +9 -0
- package/text-detection-api.idl +18 -0
- package/touch-events.idl +79 -0
- package/trust-token-api.idl +29 -0
- package/trusted-types.idl +71 -0
- package/turtledove.idl +58 -0
- package/ua-client-hints.idl +44 -0
- package/uievents.idl +248 -0
- package/url.idl +46 -0
- package/urlpattern.idl +59 -0
- package/user-timing.idl +34 -0
- package/vibration.idl +10 -0
- package/video-rvfc.idl +27 -0
- package/virtual-keyboard.idl +21 -0
- package/wai-aria.idl +59 -0
- package/wasm-js-api.idl +104 -0
- package/wasm-web-api.idl +11 -0
- package/web-animations-2.idl +102 -0
- package/web-animations.idl +149 -0
- package/web-app-launch.idl +19 -0
- package/web-bluetooth.idl +252 -0
- package/web-locks.idl +50 -0
- package/web-nfc.idl +81 -0
- package/web-otp.idl +21 -0
- package/web-share.idl +16 -0
- package/webaudio.idl +674 -0
- package/webauthn.idl +313 -0
- package/webcodecs-aac-codec-registration.idl +17 -0
- package/webcodecs-avc-codec-registration.idl +17 -0
- package/webcodecs-flac-codec-registration.idl +13 -0
- package/webcodecs-hevc-codec-registration.idl +17 -0
- package/webcodecs-opus-codec-registration.idl +22 -0
- package/webcodecs-vp9-codec-registration.idl +12 -0
- package/webcodecs.idl +500 -0
- package/webcrypto-secure-curves.idl +8 -0
- package/webdriver.idl +9 -0
- package/webgl1.idl +745 -0
- package/webgl2.idl +582 -0
- package/webgpu.idl +1245 -0
- package/webhid.idl +127 -0
- package/webidl.idl +48 -0
- package/webmidi.idl +91 -0
- package/webnn.idl +549 -0
- package/webrtc-encoded-transform.idl +127 -0
- package/webrtc-ice.idl +24 -0
- package/webrtc-identity.idl +97 -0
- package/webrtc-priority.idl +24 -0
- package/webrtc-stats.idl +288 -0
- package/webrtc-svc.idl +8 -0
- package/webrtc.idl +627 -0
- package/websockets.idl +48 -0
- package/webtransport.idl +143 -0
- package/webusb.idl +249 -0
- package/webvtt.idl +40 -0
- package/webxr-ar-module.idl +29 -0
- package/webxr-depth-sensing.idl +57 -0
- package/webxr-dom-overlays.idl +31 -0
- package/webxr-gamepads-module.idl +8 -0
- package/webxr-hand-input.idl +66 -0
- package/webxr-hit-test.idl +69 -0
- package/webxr-lighting-estimation.idl +39 -0
- package/webxr.idl +295 -0
- package/webxrlayers.idl +212 -0
- package/window-controls-overlay.idl +28 -0
- package/window-placement.idl +42 -0
- package/xhr.idl +99 -0
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: Media Capabilities (https://w3c.github.io/media-capabilities/)
|
|
5
|
+
|
|
6
|
+
dictionary MediaConfiguration {
|
|
7
|
+
VideoConfiguration video;
|
|
8
|
+
AudioConfiguration audio;
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
dictionary MediaDecodingConfiguration : MediaConfiguration {
|
|
12
|
+
required MediaDecodingType type;
|
|
13
|
+
MediaCapabilitiesKeySystemConfiguration keySystemConfiguration;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
dictionary MediaEncodingConfiguration : MediaConfiguration {
|
|
17
|
+
required MediaEncodingType type;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
enum MediaDecodingType {
|
|
21
|
+
"file",
|
|
22
|
+
"media-source",
|
|
23
|
+
"webrtc"
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
enum MediaEncodingType {
|
|
27
|
+
"record",
|
|
28
|
+
"webrtc"
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
dictionary VideoConfiguration {
|
|
32
|
+
required DOMString contentType;
|
|
33
|
+
required unsigned long width;
|
|
34
|
+
required unsigned long height;
|
|
35
|
+
required unsigned long long bitrate;
|
|
36
|
+
required double framerate;
|
|
37
|
+
boolean hasAlphaChannel;
|
|
38
|
+
HdrMetadataType hdrMetadataType;
|
|
39
|
+
ColorGamut colorGamut;
|
|
40
|
+
TransferFunction transferFunction;
|
|
41
|
+
DOMString scalabilityMode;
|
|
42
|
+
boolean spatialScalability;
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
enum HdrMetadataType {
|
|
46
|
+
"smpteSt2086",
|
|
47
|
+
"smpteSt2094-10",
|
|
48
|
+
"smpteSt2094-40"
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
enum ColorGamut {
|
|
52
|
+
"srgb",
|
|
53
|
+
"p3",
|
|
54
|
+
"rec2020"
|
|
55
|
+
};
|
|
56
|
+
|
|
57
|
+
enum TransferFunction {
|
|
58
|
+
"srgb",
|
|
59
|
+
"pq",
|
|
60
|
+
"hlg"
|
|
61
|
+
};
|
|
62
|
+
|
|
63
|
+
dictionary AudioConfiguration {
|
|
64
|
+
required DOMString contentType;
|
|
65
|
+
DOMString channels;
|
|
66
|
+
unsigned long long bitrate;
|
|
67
|
+
unsigned long samplerate;
|
|
68
|
+
boolean spatialRendering;
|
|
69
|
+
};
|
|
70
|
+
|
|
71
|
+
dictionary MediaCapabilitiesKeySystemConfiguration {
|
|
72
|
+
required DOMString keySystem;
|
|
73
|
+
DOMString initDataType = "";
|
|
74
|
+
MediaKeysRequirement distinctiveIdentifier = "optional";
|
|
75
|
+
MediaKeysRequirement persistentState = "optional";
|
|
76
|
+
sequence<DOMString> sessionTypes;
|
|
77
|
+
KeySystemTrackConfiguration audio;
|
|
78
|
+
KeySystemTrackConfiguration video;
|
|
79
|
+
};
|
|
80
|
+
|
|
81
|
+
dictionary KeySystemTrackConfiguration {
|
|
82
|
+
DOMString robustness = "";
|
|
83
|
+
DOMString? encryptionScheme = null;
|
|
84
|
+
};
|
|
85
|
+
|
|
86
|
+
dictionary MediaCapabilitiesInfo {
|
|
87
|
+
required boolean supported;
|
|
88
|
+
required boolean smooth;
|
|
89
|
+
required boolean powerEfficient;
|
|
90
|
+
};
|
|
91
|
+
|
|
92
|
+
dictionary MediaCapabilitiesDecodingInfo : MediaCapabilitiesInfo {
|
|
93
|
+
required MediaKeySystemAccess keySystemAccess;
|
|
94
|
+
MediaDecodingConfiguration configuration;
|
|
95
|
+
};
|
|
96
|
+
|
|
97
|
+
dictionary MediaCapabilitiesEncodingInfo : MediaCapabilitiesInfo {
|
|
98
|
+
MediaEncodingConfiguration configuration;
|
|
99
|
+
};
|
|
100
|
+
|
|
101
|
+
[Exposed=Window]
|
|
102
|
+
partial interface Navigator {
|
|
103
|
+
[SameObject] readonly attribute MediaCapabilities mediaCapabilities;
|
|
104
|
+
};
|
|
105
|
+
|
|
106
|
+
[Exposed=Worker]
|
|
107
|
+
partial interface WorkerNavigator {
|
|
108
|
+
[SameObject] readonly attribute MediaCapabilities mediaCapabilities;
|
|
109
|
+
};
|
|
110
|
+
|
|
111
|
+
[Exposed=(Window, Worker)]
|
|
112
|
+
interface MediaCapabilities {
|
|
113
|
+
[NewObject] Promise<MediaCapabilitiesDecodingInfo> decodingInfo(MediaDecodingConfiguration configuration);
|
|
114
|
+
[NewObject] Promise<MediaCapabilitiesEncodingInfo> encodingInfo(MediaEncodingConfiguration configuration);
|
|
115
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: Media Playback Quality (https://w3c.github.io/media-playback-quality/)
|
|
5
|
+
|
|
6
|
+
partial interface HTMLVideoElement {
|
|
7
|
+
VideoPlaybackQuality getVideoPlaybackQuality();
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
[Exposed=Window]
|
|
11
|
+
interface VideoPlaybackQuality {
|
|
12
|
+
readonly attribute DOMHighResTimeStamp creationTime;
|
|
13
|
+
readonly attribute unsigned long droppedVideoFrames;
|
|
14
|
+
readonly attribute unsigned long totalVideoFrames;
|
|
15
|
+
|
|
16
|
+
// Deprecated!
|
|
17
|
+
readonly attribute unsigned long corruptedVideoFrames;
|
|
18
|
+
};
|
package/media-source.idl
ADDED
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: Media Source Extensions™ (https://w3c.github.io/media-source/)
|
|
5
|
+
|
|
6
|
+
enum ReadyState {
|
|
7
|
+
"closed",
|
|
8
|
+
"open",
|
|
9
|
+
"ended"
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
enum EndOfStreamError {
|
|
13
|
+
"network",
|
|
14
|
+
"decode"
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
[Exposed=(Window,DedicatedWorker)]
|
|
18
|
+
interface MediaSource : EventTarget {
|
|
19
|
+
constructor();
|
|
20
|
+
|
|
21
|
+
[ SameObject, Exposed=DedicatedWorker ]
|
|
22
|
+
readonly attribute MediaSourceHandle handle;
|
|
23
|
+
|
|
24
|
+
readonly attribute SourceBufferList sourceBuffers;
|
|
25
|
+
readonly attribute SourceBufferList activeSourceBuffers;
|
|
26
|
+
readonly attribute ReadyState readyState;
|
|
27
|
+
attribute unrestricted double duration;
|
|
28
|
+
attribute EventHandler onsourceopen;
|
|
29
|
+
attribute EventHandler onsourceended;
|
|
30
|
+
attribute EventHandler onsourceclose;
|
|
31
|
+
static readonly attribute boolean canConstructInDedicatedWorker;
|
|
32
|
+
SourceBuffer addSourceBuffer (DOMString type);
|
|
33
|
+
undefined removeSourceBuffer (SourceBuffer sourceBuffer);
|
|
34
|
+
undefined endOfStream (optional EndOfStreamError error);
|
|
35
|
+
undefined setLiveSeekableRange (double start, double end);
|
|
36
|
+
undefined clearLiveSeekableRange ();
|
|
37
|
+
static boolean isTypeSupported (DOMString type);
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
[Transferable, Exposed=(Window,DedicatedWorker)]
|
|
41
|
+
interface MediaSourceHandle {};
|
|
42
|
+
|
|
43
|
+
enum AppendMode {
|
|
44
|
+
"segments",
|
|
45
|
+
"sequence"
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
[Exposed=(Window,DedicatedWorker)]
|
|
49
|
+
interface SourceBuffer : EventTarget {
|
|
50
|
+
attribute AppendMode mode;
|
|
51
|
+
readonly attribute boolean updating;
|
|
52
|
+
readonly attribute TimeRanges buffered;
|
|
53
|
+
attribute double timestampOffset;
|
|
54
|
+
readonly attribute AudioTrackList audioTracks;
|
|
55
|
+
readonly attribute VideoTrackList videoTracks;
|
|
56
|
+
readonly attribute TextTrackList textTracks;
|
|
57
|
+
attribute double appendWindowStart;
|
|
58
|
+
attribute unrestricted double appendWindowEnd;
|
|
59
|
+
attribute EventHandler onupdatestart;
|
|
60
|
+
attribute EventHandler onupdate;
|
|
61
|
+
attribute EventHandler onupdateend;
|
|
62
|
+
attribute EventHandler onerror;
|
|
63
|
+
attribute EventHandler onabort;
|
|
64
|
+
undefined appendBuffer (BufferSource data);
|
|
65
|
+
undefined abort ();
|
|
66
|
+
undefined changeType (DOMString type);
|
|
67
|
+
undefined remove (double start, unrestricted double end);
|
|
68
|
+
};
|
|
69
|
+
|
|
70
|
+
[Exposed=(Window,DedicatedWorker)]
|
|
71
|
+
interface SourceBufferList : EventTarget {
|
|
72
|
+
readonly attribute unsigned long length;
|
|
73
|
+
attribute EventHandler onaddsourcebuffer;
|
|
74
|
+
attribute EventHandler onremovesourcebuffer;
|
|
75
|
+
getter SourceBuffer (unsigned long index);
|
|
76
|
+
};
|
|
77
|
+
|
|
78
|
+
[Exposed=(Window,DedicatedWorker)]
|
|
79
|
+
partial interface AudioTrack {
|
|
80
|
+
readonly attribute SourceBuffer? sourceBuffer;
|
|
81
|
+
};
|
|
82
|
+
|
|
83
|
+
[Exposed=(Window,DedicatedWorker)]
|
|
84
|
+
partial interface VideoTrack {
|
|
85
|
+
readonly attribute SourceBuffer? sourceBuffer;
|
|
86
|
+
};
|
|
87
|
+
|
|
88
|
+
[Exposed=(Window,DedicatedWorker)]
|
|
89
|
+
partial interface TextTrack {
|
|
90
|
+
readonly attribute SourceBuffer? sourceBuffer;
|
|
91
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
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
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
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 from DOM Elements (https://w3c.github.io/mediacapture-fromelement/)
|
|
5
|
+
|
|
6
|
+
partial interface HTMLMediaElement {
|
|
7
|
+
MediaStream captureStream ();
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
partial interface HTMLCanvasElement {
|
|
11
|
+
MediaStream captureStream (optional double frameRequestRate);
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
[Exposed=Window] interface CanvasCaptureMediaStreamTrack : MediaStreamTrack {
|
|
15
|
+
readonly attribute HTMLCanvasElement canvas;
|
|
16
|
+
undefined requestFrame ();
|
|
17
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: The Capture-Handle Actions Mechanism (https://w3c.github.io/mediacapture-handle/actions/)
|
|
5
|
+
|
|
6
|
+
partial interface MediaDevices {
|
|
7
|
+
undefined setSupportedCaptureActions(sequence<DOMString> actions);
|
|
8
|
+
attribute EventHandler oncaptureaction;
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
enum CaptureAction {
|
|
12
|
+
"next",
|
|
13
|
+
"previous",
|
|
14
|
+
"first",
|
|
15
|
+
"last"
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
[Exposed=Window]
|
|
19
|
+
interface CaptureActionEvent : Event {
|
|
20
|
+
constructor(optional CaptureActionEventInit init = {});
|
|
21
|
+
readonly attribute CaptureAction action;
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
dictionary CaptureActionEventInit : EventInit {
|
|
25
|
+
DOMString action;
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
partial interface MediaStreamTrack {
|
|
29
|
+
sequence<DOMString> getSupportedCaptureActions();
|
|
30
|
+
Promise<undefined> sendCaptureAction(CaptureAction action);
|
|
31
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: Region Capture (https://w3c.github.io/mediacapture-region/)
|
|
5
|
+
|
|
6
|
+
[Exposed=(Window,Worker), Serializable]
|
|
7
|
+
interface CropTarget {
|
|
8
|
+
[Exposed=Window, SecureContext] static Promise<CropTarget> fromElement(Element element);
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
[Exposed = Window]
|
|
12
|
+
interface BrowserCaptureMediaStreamTrack : MediaStreamTrack {
|
|
13
|
+
Promise<undefined> cropTo(CropTarget? cropTarget);
|
|
14
|
+
BrowserCaptureMediaStreamTrack clone();
|
|
15
|
+
};
|
|
@@ -0,0 +1,248 @@
|
|
|
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 and Streams (https://w3c.github.io/mediacapture-main/)
|
|
5
|
+
|
|
6
|
+
[Exposed=Window]
|
|
7
|
+
interface MediaStream : EventTarget {
|
|
8
|
+
constructor();
|
|
9
|
+
constructor(MediaStream stream);
|
|
10
|
+
constructor(sequence<MediaStreamTrack> tracks);
|
|
11
|
+
readonly attribute DOMString id;
|
|
12
|
+
sequence<MediaStreamTrack> getAudioTracks();
|
|
13
|
+
sequence<MediaStreamTrack> getVideoTracks();
|
|
14
|
+
sequence<MediaStreamTrack> getTracks();
|
|
15
|
+
MediaStreamTrack? getTrackById(DOMString trackId);
|
|
16
|
+
undefined addTrack(MediaStreamTrack track);
|
|
17
|
+
undefined removeTrack(MediaStreamTrack track);
|
|
18
|
+
MediaStream clone();
|
|
19
|
+
readonly attribute boolean active;
|
|
20
|
+
attribute EventHandler onaddtrack;
|
|
21
|
+
attribute EventHandler onremovetrack;
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
[Exposed=Window]
|
|
25
|
+
interface MediaStreamTrack : EventTarget {
|
|
26
|
+
readonly attribute DOMString kind;
|
|
27
|
+
readonly attribute DOMString id;
|
|
28
|
+
readonly attribute DOMString label;
|
|
29
|
+
attribute boolean enabled;
|
|
30
|
+
readonly attribute boolean muted;
|
|
31
|
+
attribute EventHandler onmute;
|
|
32
|
+
attribute EventHandler onunmute;
|
|
33
|
+
readonly attribute MediaStreamTrackState readyState;
|
|
34
|
+
attribute EventHandler onended;
|
|
35
|
+
MediaStreamTrack clone();
|
|
36
|
+
undefined stop();
|
|
37
|
+
MediaTrackCapabilities getCapabilities();
|
|
38
|
+
MediaTrackConstraints getConstraints();
|
|
39
|
+
MediaTrackSettings getSettings();
|
|
40
|
+
Promise<undefined> applyConstraints(optional MediaTrackConstraints constraints = {});
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
enum MediaStreamTrackState {
|
|
44
|
+
"live",
|
|
45
|
+
"ended"
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
dictionary MediaTrackSupportedConstraints {
|
|
49
|
+
boolean width = true;
|
|
50
|
+
boolean height = true;
|
|
51
|
+
boolean aspectRatio = true;
|
|
52
|
+
boolean frameRate = true;
|
|
53
|
+
boolean facingMode = true;
|
|
54
|
+
boolean resizeMode = true;
|
|
55
|
+
boolean sampleRate = true;
|
|
56
|
+
boolean sampleSize = true;
|
|
57
|
+
boolean echoCancellation = true;
|
|
58
|
+
boolean autoGainControl = true;
|
|
59
|
+
boolean noiseSuppression = true;
|
|
60
|
+
boolean latency = true;
|
|
61
|
+
boolean channelCount = true;
|
|
62
|
+
boolean deviceId = true;
|
|
63
|
+
boolean groupId = true;
|
|
64
|
+
};
|
|
65
|
+
|
|
66
|
+
dictionary MediaTrackCapabilities {
|
|
67
|
+
ULongRange width;
|
|
68
|
+
ULongRange height;
|
|
69
|
+
DoubleRange aspectRatio;
|
|
70
|
+
DoubleRange frameRate;
|
|
71
|
+
sequence<DOMString> facingMode;
|
|
72
|
+
sequence<DOMString> resizeMode;
|
|
73
|
+
ULongRange sampleRate;
|
|
74
|
+
ULongRange sampleSize;
|
|
75
|
+
sequence<boolean> echoCancellation;
|
|
76
|
+
sequence<boolean> autoGainControl;
|
|
77
|
+
sequence<boolean> noiseSuppression;
|
|
78
|
+
DoubleRange latency;
|
|
79
|
+
ULongRange channelCount;
|
|
80
|
+
DOMString deviceId;
|
|
81
|
+
DOMString groupId;
|
|
82
|
+
};
|
|
83
|
+
|
|
84
|
+
dictionary MediaTrackConstraints : MediaTrackConstraintSet {
|
|
85
|
+
sequence<MediaTrackConstraintSet> advanced;
|
|
86
|
+
};
|
|
87
|
+
|
|
88
|
+
dictionary MediaTrackConstraintSet {
|
|
89
|
+
ConstrainULong width;
|
|
90
|
+
ConstrainULong height;
|
|
91
|
+
ConstrainDouble aspectRatio;
|
|
92
|
+
ConstrainDouble frameRate;
|
|
93
|
+
ConstrainDOMString facingMode;
|
|
94
|
+
ConstrainDOMString resizeMode;
|
|
95
|
+
ConstrainULong sampleRate;
|
|
96
|
+
ConstrainULong sampleSize;
|
|
97
|
+
ConstrainBoolean echoCancellation;
|
|
98
|
+
ConstrainBoolean autoGainControl;
|
|
99
|
+
ConstrainBoolean noiseSuppression;
|
|
100
|
+
ConstrainDouble latency;
|
|
101
|
+
ConstrainULong channelCount;
|
|
102
|
+
ConstrainDOMString deviceId;
|
|
103
|
+
ConstrainDOMString groupId;
|
|
104
|
+
};
|
|
105
|
+
|
|
106
|
+
dictionary MediaTrackSettings {
|
|
107
|
+
long width;
|
|
108
|
+
long height;
|
|
109
|
+
double aspectRatio;
|
|
110
|
+
double frameRate;
|
|
111
|
+
DOMString facingMode;
|
|
112
|
+
DOMString resizeMode;
|
|
113
|
+
long sampleRate;
|
|
114
|
+
long sampleSize;
|
|
115
|
+
boolean echoCancellation;
|
|
116
|
+
boolean autoGainControl;
|
|
117
|
+
boolean noiseSuppression;
|
|
118
|
+
double latency;
|
|
119
|
+
long channelCount;
|
|
120
|
+
DOMString deviceId;
|
|
121
|
+
DOMString groupId;
|
|
122
|
+
};
|
|
123
|
+
|
|
124
|
+
enum VideoFacingModeEnum {
|
|
125
|
+
"user",
|
|
126
|
+
"environment",
|
|
127
|
+
"left",
|
|
128
|
+
"right"
|
|
129
|
+
};
|
|
130
|
+
|
|
131
|
+
enum VideoResizeModeEnum {
|
|
132
|
+
"none",
|
|
133
|
+
"crop-and-scale"
|
|
134
|
+
};
|
|
135
|
+
|
|
136
|
+
[Exposed=Window]
|
|
137
|
+
interface MediaStreamTrackEvent : Event {
|
|
138
|
+
constructor(DOMString type, MediaStreamTrackEventInit eventInitDict);
|
|
139
|
+
[SameObject] readonly attribute MediaStreamTrack track;
|
|
140
|
+
};
|
|
141
|
+
|
|
142
|
+
dictionary MediaStreamTrackEventInit : EventInit {
|
|
143
|
+
required MediaStreamTrack track;
|
|
144
|
+
};
|
|
145
|
+
|
|
146
|
+
[Exposed=Window]
|
|
147
|
+
interface OverconstrainedError : DOMException {
|
|
148
|
+
constructor(DOMString constraint, optional DOMString message = "");
|
|
149
|
+
readonly attribute DOMString constraint;
|
|
150
|
+
};
|
|
151
|
+
|
|
152
|
+
partial interface Navigator {
|
|
153
|
+
[SameObject, SecureContext] readonly attribute MediaDevices mediaDevices;
|
|
154
|
+
};
|
|
155
|
+
|
|
156
|
+
[Exposed=Window, SecureContext]
|
|
157
|
+
interface MediaDevices : EventTarget {
|
|
158
|
+
attribute EventHandler ondevicechange;
|
|
159
|
+
Promise<sequence<MediaDeviceInfo>> enumerateDevices();
|
|
160
|
+
};
|
|
161
|
+
|
|
162
|
+
[Exposed=Window, SecureContext]
|
|
163
|
+
interface MediaDeviceInfo {
|
|
164
|
+
readonly attribute DOMString deviceId;
|
|
165
|
+
readonly attribute MediaDeviceKind kind;
|
|
166
|
+
readonly attribute DOMString label;
|
|
167
|
+
readonly attribute DOMString groupId;
|
|
168
|
+
[Default] object toJSON();
|
|
169
|
+
};
|
|
170
|
+
|
|
171
|
+
enum MediaDeviceKind {
|
|
172
|
+
"audioinput",
|
|
173
|
+
"audiooutput",
|
|
174
|
+
"videoinput"
|
|
175
|
+
};
|
|
176
|
+
|
|
177
|
+
[Exposed=Window, SecureContext]
|
|
178
|
+
interface InputDeviceInfo : MediaDeviceInfo {
|
|
179
|
+
MediaTrackCapabilities getCapabilities();
|
|
180
|
+
};
|
|
181
|
+
|
|
182
|
+
partial interface MediaDevices {
|
|
183
|
+
MediaTrackSupportedConstraints getSupportedConstraints();
|
|
184
|
+
Promise<MediaStream> getUserMedia(optional MediaStreamConstraints constraints = {});
|
|
185
|
+
};
|
|
186
|
+
|
|
187
|
+
dictionary MediaStreamConstraints {
|
|
188
|
+
(boolean or MediaTrackConstraints) video = false;
|
|
189
|
+
(boolean or MediaTrackConstraints) audio = false;
|
|
190
|
+
};
|
|
191
|
+
|
|
192
|
+
partial interface Navigator {
|
|
193
|
+
[SecureContext] undefined getUserMedia(MediaStreamConstraints constraints,
|
|
194
|
+
NavigatorUserMediaSuccessCallback successCallback,
|
|
195
|
+
NavigatorUserMediaErrorCallback errorCallback);
|
|
196
|
+
};
|
|
197
|
+
|
|
198
|
+
callback NavigatorUserMediaSuccessCallback = undefined (MediaStream stream);
|
|
199
|
+
|
|
200
|
+
callback NavigatorUserMediaErrorCallback = undefined (DOMException error);
|
|
201
|
+
|
|
202
|
+
dictionary DoubleRange {
|
|
203
|
+
double max;
|
|
204
|
+
double min;
|
|
205
|
+
};
|
|
206
|
+
|
|
207
|
+
dictionary ConstrainDoubleRange : DoubleRange {
|
|
208
|
+
double exact;
|
|
209
|
+
double ideal;
|
|
210
|
+
};
|
|
211
|
+
|
|
212
|
+
dictionary ULongRange {
|
|
213
|
+
[Clamp] unsigned long max;
|
|
214
|
+
[Clamp] unsigned long min;
|
|
215
|
+
};
|
|
216
|
+
|
|
217
|
+
dictionary ConstrainULongRange : ULongRange {
|
|
218
|
+
[Clamp] unsigned long exact;
|
|
219
|
+
[Clamp] unsigned long ideal;
|
|
220
|
+
};
|
|
221
|
+
|
|
222
|
+
dictionary ConstrainBooleanParameters {
|
|
223
|
+
boolean exact;
|
|
224
|
+
boolean ideal;
|
|
225
|
+
};
|
|
226
|
+
|
|
227
|
+
dictionary ConstrainDOMStringParameters {
|
|
228
|
+
(DOMString or sequence<DOMString>) exact;
|
|
229
|
+
(DOMString or sequence<DOMString>) ideal;
|
|
230
|
+
};
|
|
231
|
+
|
|
232
|
+
typedef ([Clamp] unsigned long or ConstrainULongRange) ConstrainULong;
|
|
233
|
+
|
|
234
|
+
typedef (double or ConstrainDoubleRange) ConstrainDouble;
|
|
235
|
+
|
|
236
|
+
typedef (boolean or ConstrainBooleanParameters) ConstrainBoolean;
|
|
237
|
+
|
|
238
|
+
typedef (DOMString or
|
|
239
|
+
sequence<DOMString> or
|
|
240
|
+
ConstrainDOMStringParameters) ConstrainDOMString;
|
|
241
|
+
|
|
242
|
+
dictionary DevicePermissionDescriptor : PermissionDescriptor {
|
|
243
|
+
DOMString deviceId;
|
|
244
|
+
};
|
|
245
|
+
|
|
246
|
+
dictionary CameraDevicePermissionDescriptor : DevicePermissionDescriptor {
|
|
247
|
+
boolean panTiltZoom = false;
|
|
248
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: MediaStreamTrack Insertable Media Processing using Streams (https://w3c.github.io/mediacapture-transform/)
|
|
5
|
+
|
|
6
|
+
[Exposed=DedicatedWorker]
|
|
7
|
+
interface MediaStreamTrackProcessor {
|
|
8
|
+
constructor(MediaStreamTrackProcessorInit init);
|
|
9
|
+
attribute ReadableStream readable;
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
dictionary MediaStreamTrackProcessorInit {
|
|
13
|
+
required MediaStreamTrack track;
|
|
14
|
+
[EnforceRange] unsigned short maxBufferSize;
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
[Exposed=DedicatedWorker]
|
|
18
|
+
interface VideoTrackGenerator {
|
|
19
|
+
constructor();
|
|
20
|
+
readonly attribute WritableStream writable;
|
|
21
|
+
attribute boolean muted;
|
|
22
|
+
readonly attribute MediaStreamTrack track;
|
|
23
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: Viewport Capture (https://w3c.github.io/mediacapture-viewport/)
|
|
5
|
+
|
|
6
|
+
partial interface MediaDevices {
|
|
7
|
+
Promise<MediaStream> getViewportMedia(
|
|
8
|
+
optional ViewportMediaStreamConstraints constraints = {});
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
dictionary ViewportMediaStreamConstraints {
|
|
12
|
+
(boolean or MediaTrackConstraints) video = true;
|
|
13
|
+
(boolean or MediaTrackConstraints) audio = false;
|
|
14
|
+
};
|
package/mediasession.idl
ADDED
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: Media Session Standard (https://w3c.github.io/mediasession/)
|
|
5
|
+
|
|
6
|
+
[Exposed=Window]
|
|
7
|
+
partial interface Navigator {
|
|
8
|
+
[SameObject] readonly attribute MediaSession mediaSession;
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
enum MediaSessionPlaybackState {
|
|
12
|
+
"none",
|
|
13
|
+
"paused",
|
|
14
|
+
"playing"
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
enum MediaSessionAction {
|
|
18
|
+
"play",
|
|
19
|
+
"pause",
|
|
20
|
+
"seekbackward",
|
|
21
|
+
"seekforward",
|
|
22
|
+
"previoustrack",
|
|
23
|
+
"nexttrack",
|
|
24
|
+
"skipad",
|
|
25
|
+
"stop",
|
|
26
|
+
"seekto",
|
|
27
|
+
"togglemicrophone",
|
|
28
|
+
"togglecamera",
|
|
29
|
+
"hangup",
|
|
30
|
+
"previousslide",
|
|
31
|
+
"nextslide"
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
callback MediaSessionActionHandler = undefined(MediaSessionActionDetails details);
|
|
35
|
+
|
|
36
|
+
[Exposed=Window]
|
|
37
|
+
interface MediaSession {
|
|
38
|
+
attribute MediaMetadata? metadata;
|
|
39
|
+
|
|
40
|
+
attribute MediaSessionPlaybackState playbackState;
|
|
41
|
+
|
|
42
|
+
undefined setActionHandler(MediaSessionAction action, MediaSessionActionHandler? handler);
|
|
43
|
+
|
|
44
|
+
undefined setPositionState(optional MediaPositionState state = {});
|
|
45
|
+
|
|
46
|
+
undefined setMicrophoneActive(boolean active);
|
|
47
|
+
|
|
48
|
+
undefined setCameraActive(boolean active);
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
[Exposed=Window]
|
|
52
|
+
interface MediaMetadata {
|
|
53
|
+
constructor(optional MediaMetadataInit init = {});
|
|
54
|
+
attribute DOMString title;
|
|
55
|
+
attribute DOMString artist;
|
|
56
|
+
attribute DOMString album;
|
|
57
|
+
attribute FrozenArray<MediaImage> artwork;
|
|
58
|
+
};
|
|
59
|
+
|
|
60
|
+
dictionary MediaMetadataInit {
|
|
61
|
+
DOMString title = "";
|
|
62
|
+
DOMString artist = "";
|
|
63
|
+
DOMString album = "";
|
|
64
|
+
sequence<MediaImage> artwork = [];
|
|
65
|
+
};
|
|
66
|
+
|
|
67
|
+
dictionary MediaImage {
|
|
68
|
+
required USVString src;
|
|
69
|
+
DOMString sizes = "";
|
|
70
|
+
DOMString type = "";
|
|
71
|
+
};
|
|
72
|
+
|
|
73
|
+
dictionary MediaPositionState {
|
|
74
|
+
double duration;
|
|
75
|
+
double playbackRate;
|
|
76
|
+
double position;
|
|
77
|
+
};
|
|
78
|
+
|
|
79
|
+
dictionary MediaSessionActionDetails {
|
|
80
|
+
required MediaSessionAction action;
|
|
81
|
+
double seekOffset;
|
|
82
|
+
double seekTime;
|
|
83
|
+
boolean fastSeek;
|
|
84
|
+
};
|