W3C home > Mailing lists > Public > public-media-capture-logs@w3.org > January 2017

Re: [mediacapture-image] is grabFrame necessary?

From: Miguel Casas-Sanchez via GitHub <sysbot+gh@w3.org>
Date: Thu, 19 Jan 2017 19:28:06 +0000
To: public-media-capture-logs@w3.org
Message-ID: <issue_comment.created-273873491-1484854085-sysbot+gh@w3.org>
Related to this, @mounirlamouri argued in #84 that `grabFrame()` might
 be a better citizen of `MediaStreamTrack`.  

A similar pattern was used for `<canvas>.captureStream()` where a 
[`CanvasCaptureMediaStreamTrack`](https://w3c.github.io/mediacapture-fromelement/#dom-canvascapturemediastreamtrack)
 was introduced in order to have a single method 
[`requestFrame()`](https://w3c.github.io/mediacapture-fromelement/#dom-canvascapturemediastreamtrack-requestframe).
  

We could do something similar here, if that would address the concerns
 of @mounirlamouri and @travisleithead.  @alvestrand, @gmandyam what 
do you think?

-- 
GitHub Notification of comment by miguelao
Please view or discuss this issue at 
https://github.com/w3c/mediacapture-image/issues/144#issuecomment-273873491
 using your GitHub account
Received on Thursday, 19 January 2017 19:28:13 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:27:31 UTC