4 years, 10 months ago
(2015-06-17 08:13:07 UTC)
#2
Hi,
Please take a look.
Mike West
On 2015/06/17 at 08:13:07, guidou wrote: > Hi, > > Please take a look. I ...
4 years, 10 months ago
(2015-06-17 08:45:56 UTC)
#3
On 2015/06/17 at 08:13:07, guidou wrote:
> Hi,
>
> Please take a look.
I was going to say "I'll defer to the audio_output_devices OWNERS", but there
aren't any. Please add an OWNERS file to that module. (Does it really need to be
its own module, or could you fold it into one of the other media* modules?).
I'd like someone more familiar with media stuff to take a look at this before I
stamp the modules.gypi change. Perhaps tommi@ or philipj@?
On 2015/06/17 08:45:56, Mike West wrote: > On 2015/06/17 at 08:13:07, guidou wrote: > > ...
4 years, 10 months ago
(2015-06-17 10:04:18 UTC)
#5
On 2015/06/17 08:45:56, Mike West wrote:
> On 2015/06/17 at 08:13:07, guidou wrote:
> > Hi,
> >
> > Please take a look.
>
> I was going to say "I'll defer to the audio_output_devices OWNERS", but there
> aren't any. Please add an OWNERS file to that module. (Does it really need to
be
> its own module, or could you fold it into one of the other media* modules?).
>
I think it should be its own module. Although it is a small feature, it has its
own spec and I expect it to grow since we haven't implemented all aspects of the
spec yet.
Guido Urdaneta
On 2015/06/17 10:04:18, guidou wrote: > On 2015/06/17 08:45:56, Mike West wrote: > > On ...
4 years, 10 months ago
(2015-06-17 10:24:52 UTC)
#6
On 2015/06/17 10:04:18, guidou wrote:
> On 2015/06/17 08:45:56, Mike West wrote:
> > On 2015/06/17 at 08:13:07, guidou wrote:
> > > Hi,
> > >
> > > Please take a look.
> >
> > I was going to say "I'll defer to the audio_output_devices OWNERS", but
there
> > aren't any. Please add an OWNERS file to that module. (Does it really need
to
> be
> > its own module, or could you fold it into one of the other media* modules?).
> >
>
> I think it should be its own module. Although it is a small feature, it has
its
> own spec and I expect it to grow since we haven't implemented all aspects of
the
> spec yet.
Please ignore patchset 3. It was made from the wrong local branch on my side.
patchset 4 fixes it.
https://codereview.chromium.org/1188203002/diff/140001/Source/modules/audio_output_devices/HTMLMediaElementAudioOutputDevice.cpp File Source/modules/audio_output_devices/HTMLMediaElementAudioOutputDevice.cpp (right): https://codereview.chromium.org/1188203002/diff/140001/Source/modules/audio_output_devices/HTMLMediaElementAudioOutputDevice.cpp#newcode38 Source/modules/audio_output_devices/HTMLMediaElementAudioOutputDevice.cpp:38: return ScriptPromise::rejectWithDOMException(scriptState, DOMException::create(AbortError, "No media player available")); As in ...
4 years, 10 months ago
(2015-06-18 14:33:15 UTC)
#15
https://codereview.chromium.org/1188203002/diff/140001/Source/modules/audio_output_devices/HTMLMediaElementAudioOutputDevice.cpp File Source/modules/audio_output_devices/HTMLMediaElementAudioOutputDevice.cpp (right): https://codereview.chromium.org/1188203002/diff/140001/Source/modules/audio_output_devices/HTMLMediaElementAudioOutputDevice.cpp#newcode38 Source/modules/audio_output_devices/HTMLMediaElementAudioOutputDevice.cpp:38: return ScriptPromise::rejectWithDOMException(scriptState, DOMException::create(AbortError, "No media player available")); On 2015/06/18 ...
4 years, 10 months ago
(2015-06-18 23:09:06 UTC)
#16
Message was sent while issue was closed.
https://codereview.chromium.org/1188203002/diff/140001/Source/modules/audio_o...
File Source/modules/audio_output_devices/HTMLMediaElementAudioOutputDevice.cpp
(right):
https://codereview.chromium.org/1188203002/diff/140001/Source/modules/audio_o...
Source/modules/audio_output_devices/HTMLMediaElementAudioOutputDevice.cpp:38:
return ScriptPromise::rejectWithDOMException(scriptState,
DOMException::create(AbortError, "No media player available"));
On 2015/06/18 14:33:15, Peter Beverloo wrote:
> As in the other CL - should this be an ASSERT()?
In this case the check is valid.
For empty media elements (e.g.g <video id="empty"></video>, webMediaPlayer is
actually null, and in that case there is no actual audio sink to be set.
The spec needs some updates because it says that in these cases a rejected
promise should be returned, but it does not specify with what kind of exception.
I asked hta, who is involved in spec writing, and he told me that, until the
specification is clearer, AbortError is a good error to use.
Issue 1188203002: Implementation of setSinkId() for HTMLMediaElement.
(Closed)
Created 4 years, 10 months ago by Guido Urdaneta
Modified 4 years, 10 months ago
Reviewers: tommi (sloooow) - chröme, hta - Chromium, Mike West, Peter Beverloo
Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Comments: 23