Index: modules/audio_output_devices/HTMLMediaElementAudioOutputDevice.idl |
diff --git a/modules/audio_output_devices/HTMLMediaElementAudioOutputDevice.idl b/modules/audio_output_devices/HTMLMediaElementAudioOutputDevice.idl |
new file mode 100644 |
index 0000000000000000000000000000000000000000..a530d62623ea4716ddfee96e5b116ddbc1042853 |
--- /dev/null |
+++ b/modules/audio_output_devices/HTMLMediaElementAudioOutputDevice.idl |
@@ -0,0 +1,11 @@ |
+// Copyright 2015 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://w3c.github.io/mediacapture-output/#htmlmediaelement-extensions |
+ |
+partial interface HTMLMediaElement { |
+ [RuntimeEnabled=AudioOutputDevices] readonly attribute DOMString sinkId; |
+ [RuntimeEnabled=AudioOutputDevices, TypeChecking=Interface, CallWith=ScriptState] Promise<void> setSinkId(DOMString sinkId); |
+}; |
+ |