questions about direct assignment

A few questions about direct assignment of MediaStreams to media elements:


1.       In the case of direct assignment, is currentSrc  null?   The HTML5 spec says that if currentSrc is null, there is no media resource, so there may be a problem lurking in here.

2.       The HMTL5 spec allows for both the 'src' attribute and <source> children to be specified, and says that if they both occur, src takes precedence.  Do we want want to be consistent with this and allow direct assignment to occur with 'src' and <source>?  (Direct assignment would take precedence.)

3.       For the purposes of cross-origin constraints, what is the origin of the MediaStream?

4.       Do we say that the Tracks in the MediaStream must also implement AudioTrack and VideoTrack interfaces in the HTML5 spec?  If we do say this, are the media element track interfaces available on MediaStreams that aren't being used with media elements?


-          Jim

Received on Wednesday, 29 May 2013 17:47:45 UTC