Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(949)

Unified Diff: third_party/WebKit/Source/modules/mediasource/AudioTrackSourceBuffer.idl

Issue 1658033002: Add SourceBuffer implementations of Audio/VideoTracks (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@pass-media-tracks-to-blink
Patch Set: Make A/V track lists plain members in SourceBuffer Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/mediasource/AudioTrackSourceBuffer.idl
diff --git a/third_party/WebKit/Source/modules/worklet/Worklet.idl b/third_party/WebKit/Source/modules/mediasource/AudioTrackSourceBuffer.idl
similarity index 50%
copy from third_party/WebKit/Source/modules/worklet/Worklet.idl
copy to third_party/WebKit/Source/modules/mediasource/AudioTrackSourceBuffer.idl
index 0744c691c0dd98f411149d5f620b9f71a07f81af..7231dee68e5ccdcf7315337816d5a2e76e661632 100644
--- a/third_party/WebKit/Source/modules/worklet/Worklet.idl
+++ b/third_party/WebKit/Source/modules/mediasource/AudioTrackSourceBuffer.idl
@@ -2,12 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// https://drafts.css-houdini.org/worklets/#worklet
-
+// https://w3c.github.io/media-source/#audio-track-extensions
[
- DependentLifetime,
GarbageCollected,
- RuntimeEnabled=Worklet,
-] interface Worklet {
- [CallWith=ScriptState] Promise<void> import(DOMString url);
+ RuntimeEnabled=AudioVideoTracks
+] partial interface AudioTrack {
+ readonly attribute SourceBuffer? sourceBuffer;
};

Powered by Google App Engine
This is Rietveld 408576698