| // Copyright 2022 The Chromium Authors |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| // Per MediaSourceHandle in https://github.com/w3c/media-source/pull/305 which, |
| // once merged, is expected to be defined at: |
| // https://w3c.github.io/media-source/#idl-def-mediasourcehandle |
| |
| [ |
| Exposed=(Window,DedicatedWorker), |
| ImplementedAs=MediaSourceHandleImpl, |
| Transferable |
| ] interface MediaSourceHandle { |
| // Trivial handle object useful for attaching a DedicatedWorker MediaSource |
| // to a Window HTMLMediaElement by setting the media element's srcObject. |
| }; |