[mediacapture-main] Should attach the media element to the MediaStream object

qjia7 has just created a new issue for 
https://github.com/w3c/mediacapture-main:

= Should attach the media element to the MediaStream object =
In 
http://w3c.github.io/mediacapture-main/#loading-and-playing-a-mediastream-in-a-media-element,
 it says 'When the MediaStream state moves from the active to the 
inactive state, the User Agent MUST raise an ended event on the media 
element and set its ended attribute to true.' But currently, there is 
no directly relationship between mediastream and media element. In 
mediastream, we can control active to inactive and trigger the 
'inactive' event. But we can't raise an ended event on the media 
element. Should we add the 'attach to element algorithm' like 
mediasource does?
 (http://w3c.github.io/media-source/#mediasource-attach )

See https://github.com/w3c/mediacapture-main/issues/134

Received on Tuesday, 10 February 2015 01:04:03 UTC