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

Unified Diff: third_party/WebKit/Source/modules/mediasource/SourceBuffer.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/SourceBuffer.idl
diff --git a/third_party/WebKit/Source/modules/mediasource/SourceBuffer.idl b/third_party/WebKit/Source/modules/mediasource/SourceBuffer.idl
index a3f206ecda904027c96a0366d1bb71584fe10c67..f4201c86e5f33de22b2c3e693a9aeccc3ad358c3 100644
--- a/third_party/WebKit/Source/modules/mediasource/SourceBuffer.idl
+++ b/third_party/WebKit/Source/modules/mediasource/SourceBuffer.idl
@@ -70,4 +70,7 @@ enum AppendMode {
// Gets or sets the TrackDefaultList this SourceBuffer may consult during
// the initialization segment algorithm.
[RaisesException=Setter, RuntimeEnabled=MediaSourceExperimental] attribute TrackDefaultList trackDefaults;
+
+ [RuntimeEnabled=AudioVideoTracks] readonly attribute AudioTrackList audioTracks;
+ [RuntimeEnabled=AudioVideoTracks] readonly attribute VideoTrackList videoTracks;
};

Powered by Google App Engine
This is Rietveld 408576698