blob: bb98fde5c46e9ef46c2ec15ce3de247c29d4c14d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// See spec in developement at https://github.com/WICG/web-codecs/blob/master/index.bs
// and https://github.com/WICG/web-codecs/blob/master/explainer.md.
[
Exposed=Window,
RuntimeEnabled=WebCodecs
] interface VideoTrackReader {
[CallWith=ScriptState, RaisesException]
constructor(MediaStreamTrack track);
readonly attribute ReadableStream readable; // of VideoFrame
};
|