W3C home > Mailing lists > Public > public-media-capture@w3.org > April 2013

Re: VideoStreamTrack: takePhoto()

From: Harald Alvestrand <harald@alvestrand.no>
Date: Wed, 03 Apr 2013 14:58:35 +0200
Message-ID: <515C277B.8090104@alvestrand.no>
To: public-media-capture@w3.org
On 04/02/2013 06:43 PM, Anne van Kesteren wrote:
> I think this method should return a Future instead that is resolved
> with the Blob if it succeeds and some indication of error if something
> failed.
>
>
> --
> http://annevankesteren.nl/
>
Dom just commented on futures on the WEBRTC list too. His advice:

"Futures are still very early, and while some good thinking have been 
put into them (as well as input from existing similar systems and 
libraries in JavaScript), we probably shouldn't be the first group to 
adopt them in our APIs. But once we get more confidence in their 
stability, we should certainly assess the opportunity of making our APIs 
future-friendly."

I like the concept of futures, but this WG and TF are already an early 
adopter of a lot of stuff.
Received on Wednesday, 3 April 2013 12:59:08 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:24:40 UTC