[mediacapture-fromelement] Strange description of captureStreamUntilEnded()

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

== Strange description of captureStreamUntilEnded() ==
The 
[spec](http://w3c.github.io/mediacapture-fromelement/#widl-HTMLMediaElement-captureStreamUntilEnded-MediaStream)
 says "`captureStreamUntilEnded()` operates in the same way that 
`captureStream()` does, except that when playback ends, so do all the 
`MediaStreamTracks` in the `MediaStream`."

However, `captureStream()` already says that "A captured 
`MediaStreamTrack` ends when playback ends ..."

What is the intended difference? I think that it's the "from a single 
media resource" bit that's really important, in which case you should 
probably hook into the [media element load 
algorithm](https://html.spec.whatwg.org/multipage/embedded-content.html#media-element-load-algorithm),
 and end any streams created by `captureStreamUntilEnded()` in the 
reset steps, close to "Forget the media element's 
media-resource-specific tracks."

Please view or discuss this issue at 
https://github.com/w3c/mediacapture-fromelement/issues/25 using your 
GitHub account

Received on Monday, 18 January 2016 10:59:24 UTC