MediaStream and <video>/<audio> assignment

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.

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.

Thanks,

Dom

Received on Wednesday, 6 February 2013 21:48:13 UTC