Index: third_party/WebKit/Source/modules/mediacapabilities/MediaConfiguration.idl |
diff --git a/third_party/WebKit/Source/modules/mediacapabilities/MediaConfiguration.idl b/third_party/WebKit/Source/modules/mediacapabilities/MediaConfiguration.idl |
new file mode 100644 |
index 0000000000000000000000000000000000000000..5d82f14cb120f95513d4cb6e786b12ed9222b926 |
--- /dev/null |
+++ b/third_party/WebKit/Source/modules/mediacapabilities/MediaConfiguration.idl |
@@ -0,0 +1,17 @@ |
+// Copyright 2017 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. |
+ |
+// https://wicg.github.io/media-capabilities/#dictdef-mediaconfiguration |
+ |
+enum MediaConfigurationType { |
+ "file", |
+ "MediaSource", |
+}; |
+ |
+dictionary MediaConfiguration { |
+ required MediaConfigurationType type; |
+ |
+ VideoConfiguration video; |
+ AudioConfiguration audio; |
+}; |