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

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: Fix ChromeOS builds Created 4 years, 9 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 ff2fbba47ab60559b265d789603e53870e3c3cd4..e1fedd03b31300b01fcee7bbed8a77ec9b957f6c 100644
--- a/third_party/WebKit/Source/modules/mediasource/SourceBuffer.idl
+++ b/third_party/WebKit/Source/modules/mediasource/SourceBuffer.idl
@@ -69,4 +69,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;
wolenetz 2016/03/23 20:18:52 nit: please put these new interface members in ord
servolk 2016/03/31 00:03:40 Done.
+ [RuntimeEnabled=AudioVideoTracks] readonly attribute VideoTrackList videoTracks;
};

Powered by Google App Engine
This is Rietveld 408576698