@webref/idl 2.11.1 → 2.12.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/autoplay.idl ADDED
@@ -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: Autoplay Policy Detection (https://w3c.github.io/autoplay/)
5
+
6
+ enum AutoplayPolicy {
7
+ "allowed",
8
+ "allowed-muted",
9
+ "disallowed"
10
+ };
11
+
12
+ partial interface Document {
13
+ readonly attribute AutoplayPolicy autoplayPolicy;
14
+ };
15
+
16
+ partial interface HTMLMediaElement {
17
+ readonly attribute AutoplayPolicy autoplayPolicy;
18
+ };
@@ -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
+ };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@webref/idl",
3
3
  "description": "Web IDL definitions of the web platform",
4
- "version": "2.11.1",
4
+ "version": "2.12.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"