diff options
Diffstat (limited to 'test/wpt/tests/interfaces/mediacapture-transform.idl')
-rw-r--r-- | test/wpt/tests/interfaces/mediacapture-transform.idl | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/test/wpt/tests/interfaces/mediacapture-transform.idl b/test/wpt/tests/interfaces/mediacapture-transform.idl new file mode 100644 index 0000000..5b2c8fa --- /dev/null +++ b/test/wpt/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; +}; |