Chromium Code Reviews
Help | Chromium Project | Gerrit Changes | Sign in
(52)

Issue 1182243005: Add sinkId/setSinkId() extension to HTMLMediaElement. (Closed)

Created:
4 years, 10 months ago by Guido Urdaneta
Modified:
4 years, 10 months ago
CC:
blink-reviews, eric.carlson_apple.com, feature-media-reviews_chromium.org, mlamouri+watch-blink_chromium.org, philipj_slow
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Add sinkId/setSinkId() extension to HTMLMediaElement. This is inteded to support the Audio Output Devices API. http://w3c.github.io/mediacapture-output/ https://www.chromestatus.com/feature/4621603249848320 This implementation exposes the sinkId attribute and the setSinkId() method to the web. sinkId always returns the default sink Id and the setSinkId() method is not actually implemented and always returns a rejected promise. BUG=438023 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=197229

Patch Set 1 #

Patch Set 2 : Change variable name #

Patch Set 3 : Minor fixes to layout test #

Patch Set 4 : rebase #

Patch Set 5 : Update expected value for public interface/properties tests #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+143 lines, -0 lines) Patch
A LayoutTests/media/audio_output_devices/audio_output_devices-setsinkid.html View 1 2 1 chunk +32 lines, -0 lines 0 comments Download
M LayoutTests/webexposed/element-instance-property-listing-expected.txt View 1 2 3 4 2 chunks +4 lines, -0 lines 0 comments Download
M LayoutTests/webexposed/global-interface-listing-expected.txt View 1 2 3 4 2 chunks +2 lines, -0 lines 0 comments Download
A Source/modules/audio_output_devices/HTMLMediaElementAudioOutputDevice.h View 1 1 chunk +37 lines, -0 lines 0 comments Download
A Source/modules/audio_output_devices/HTMLMediaElementAudioOutputDevice.cpp View 1 1 chunk +53 lines, -0 lines 1 comment Download
A Source/modules/audio_output_devices/HTMLMediaElementAudioOutputDevice.idl View 1 chunk +11 lines, -0 lines 1 comment Download
M Source/modules/modules.gypi View 1 2 3 2 chunks +3 lines, -0 lines 0 comments Download
M Source/platform/RuntimeEnabledFeatures.in View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 32 (14 generated)
Guido Urdaneta
Hi, Please review
4 years, 10 months ago (2015-06-13 22:57:38 UTC) #2
Mike West
What is the consent model for this feature? Are you working with felt@, et al. ...
4 years, 10 months ago (2015-06-15 08:09:46 UTC) #3
Guido Urdaneta
On 2015/06/15 08:09:46, Mike West wrote: > What is the consent model for this feature? ...
4 years, 10 months ago (2015-06-15 08:52:34 UTC) #4
Mike West
On 2015/06/15 at 08:52:34, guidou wrote: > On 2015/06/15 08:09:46, Mike West wrote: > > ...
4 years, 10 months ago (2015-06-15 10:47:31 UTC) #5
Guido Urdaneta
On 2015/06/15 10:47:31, Mike West wrote: > On 2015/06/15 at 08:52:34, guidou wrote: > > ...
4 years, 10 months ago (2015-06-15 10:59:12 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1182243005/40001
4 years, 10 months ago (2015-06-15 10:59:36 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: linux_blink_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/linux_blink_rel/builds/66594)
4 years, 10 months ago (2015-06-15 12:28:05 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1182243005/60001
4 years, 10 months ago (2015-06-15 14:20:46 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: linux_blink_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/linux_blink_rel/builds/66622)
4 years, 10 months ago (2015-06-15 16:24:44 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1182243005/60001
4 years, 10 months ago (2015-06-15 19:19:23 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: linux_blink_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/linux_blink_rel/builds/66686)
4 years, 10 months ago (2015-06-15 21:09:59 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1182243005/60001
4 years, 10 months ago (2015-06-16 09:54:02 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: linux_blink_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/linux_blink_rel/builds/66812)
4 years, 10 months ago (2015-06-16 11:36:18 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1182243005/80001
4 years, 10 months ago (2015-06-16 13:05:22 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: win_blink_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/win_blink_rel/builds/66800)
4 years, 10 months ago (2015-06-16 15:13:54 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1182243005/80001
4 years, 10 months ago (2015-06-17 00:31:52 UTC) #30
commit-bot: I haz the power
Committed patchset #5 (id:80001) as https://src.chromium.org/viewvc/blink?view=rev&revision=197229
4 years, 10 months ago (2015-06-17 02:53:33 UTC) #31
Peter Beverloo
4 years, 10 months ago (2015-06-18 14:21:20 UTC) #32
Message was sent while issue was closed.
Thanks Guidou!

lgtm % comment

https://codereview.chromium.org/1182243005/diff/80001/Source/modules/audio_ou...
File Source/modules/audio_output_devices/HTMLMediaElementAudioOutputDevice.cpp
(right):

https://codereview.chromium.org/1182243005/diff/80001/Source/modules/audio_ou...
Source/modules/audio_output_devices/HTMLMediaElementAudioOutputDevice.cpp:22:
WTF_LOG(Media, __FUNCTION__);
Did you mean to land these WTF_LOG statements?

https://codereview.chromium.org/1182243005/diff/80001/Source/modules/audio_ou...
File Source/modules/audio_output_devices/HTMLMediaElementAudioOutputDevice.idl
(right):

https://codereview.chromium.org/1182243005/diff/80001/Source/modules/audio_ou...
Source/modules/audio_output_devices/HTMLMediaElementAudioOutputDevice.idl:5: //
http://w3c.github.io/mediacapture-output/#htmlmediaelement-extensions
micro nit: github.io links are also available over https :-).

Powered by Google App Engine
This is Rietveld 408576698