summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/interfaces/mediacapture-transform.idl
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/interfaces/mediacapture-transform.idl')
-rw-r--r--testing/web-platform/tests/interfaces/mediacapture-transform.idl23
1 files changed, 23 insertions, 0 deletions
diff --git a/testing/web-platform/tests/interfaces/mediacapture-transform.idl b/testing/web-platform/tests/interfaces/mediacapture-transform.idl
new file mode 100644
index 0000000000..5b2c8fa67a
--- /dev/null
+++ b/testing/web-platform/tests/interfaces/mediacapture-transform.idl
@@ -0,0 +1,23 @@
+// GENERATED CONTENT - DO NOT EDIT
+// Content was automatically extracted by Reffy into webref
+// (https://github.com/w3c/webref)
+// Source: MediaStreamTrack Insertable Media Processing using Streams (https://w3c.github.io/mediacapture-transform/)
+
+[Exposed=DedicatedWorker]
+interface MediaStreamTrackProcessor {
+ constructor(MediaStreamTrackProcessorInit init);
+ attribute ReadableStream readable;
+};
+
+dictionary MediaStreamTrackProcessorInit {
+ required MediaStreamTrack track;
+ [EnforceRange] unsigned short maxBufferSize;
+};
+
+[Exposed=DedicatedWorker]
+interface VideoTrackGenerator {
+ constructor();
+ readonly attribute WritableStream writable;
+ attribute boolean muted;
+ readonly attribute MediaStreamTrack track;
+};