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

Unified Diff: media/mojo/interfaces/media_renderer.mojom

Issue 1122393004: Add support for switching the audio output device for HTMLMediaElements. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Changes to MediaPlayers so that they invoke callbacks in the correct threads. First complete implem… Created 5 years, 7 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: media/mojo/interfaces/media_renderer.mojom
diff --git a/media/mojo/interfaces/media_renderer.mojom b/media/mojo/interfaces/media_renderer.mojom
index 616e6770f72122c1c66fc133ca1f2affe94120a3..7156fbeb67d2e57bb60e2e3b5a1a7d55d6f048ef 100644
--- a/media/mojo/interfaces/media_renderer.mojom
+++ b/media/mojo/interfaces/media_renderer.mojom
@@ -29,6 +29,9 @@ interface MediaRenderer {
// Sets the output volume. The default volume should be 1.
SetVolume(float volume);
+
+ // Switches the output device.
+ SwitchAudioOutputDevice(string device_id, string security_origin);
};
interface MediaRendererClient {

Powered by Google App Engine
This is Rietveld 408576698