Re: [mediacapture-fromelement] Consider using Promises for capturing from HTMLMediaElement

An issue with a promise approach is that what is rendered by the media
 element may change over time (e.g., it may have no tracks due to a 
cross-origin resource, but later play a src on the same origin); 
whereas a promise is a one-off.

Also the application already knows whether or not it uses cross-origin
 resources, so using a promise goes against principles we have called 
out before (like no "ended" event on track.stop()).

To understand the full state of the rendered media one has to monitor 
the tracks of the MediaStream IMHO.

-- 
GitHub Notification of comment by Pehrsons
Please view or discuss this issue at 
https://github.com/w3c/mediacapture-fromelement/issues/58#issuecomment-279387870
 using your GitHub account

Received on Monday, 13 February 2017 13:08:44 UTC