Re: VideoStreamTrack: takePhoto()

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