Re: MediaStream and <video>/<audio> assignment

On 2013-02-06 22:48, Dominique Hazael-Massieux wrote:
> Hi,
>
> The latest editors draft of getUserMedia still uses URL.createObjectURL
> to assign the content of a media stream to an HTML media element
> (<audio> and <video>):
> http://dev.w3.org/2011/webrtc/editor/getusermedia.html#mediastreams-as-media-elements
>
> My understanding is that we had converged towards instead use a new
> attribute on the HTMLMediaElement interface, srcObject, to which a
> MediaStream could be directly assigned.

I also think we converged towards also supporting srcObject, but my 
recollection was that we should also continue to support 
URL.createObjectURL.

>
> Is that indeed the case (in which case I hope the editors draft can be
> updated to reflect this)? If not, I think this needs to be settled with
> relatively high priority since it's certainly one points where current
> implementations of getUserMedia diverges, and that any developer using
> the API is going to hit almost immediately.
>
> Practically speaking, while we could simply define a partial interface
> to add srcObject to HTMLMediaElement, it's likely something where we
> would want to coordinate with the HTML Working Group.

I agree, we should add the partial interface and coordinate with HTML WG.

Stefan

>
> Thanks,
>
> Dom
>
>
>

Received on Thursday, 7 February 2013 11:05:56 UTC