Re: [whatwg] Device element and the lifetime of the stream objects

2011-02-23 Thread John Knottenbelt
Hi Rich, On Wed, Feb 16, 2011 at 6:03 PM, Rich Tibbett wrote: > We are also trying a different approach but we're not really coming up with anything other than modal dialogs, no-authorization models or policies; none of which are suitable for different reasons. One option that works is, on cli

Re: [whatwg] Device element and the lifetime of the stream objects

2011-02-16 Thread Rich Tibbett
Andrei Popescu wrote: Hi Anne, On Wed, Feb 16, 2011 at 12:36 PM, Anne van Kesteren wrote: On Tue, 15 Feb 2011 17:48:24 +0100, Leandro Graciá Gil wrote: All feedback will be greatly appreciated. This is just a thought. Instead of acquiring a Stream object asynchronously there always is one

Re: [whatwg] Device element and the lifetime of the stream objects

2011-02-16 Thread Andrei Popescu
Hi Anne, On Wed, Feb 16, 2011 at 12:36 PM, Anne van Kesteren wrote: > On Tue, 15 Feb 2011 17:48:24 +0100, Leandro Graciá Gil > wrote: >> >> All feedback will be greatly appreciated. > > This is just a thought. Instead of acquiring a Stream object asynchronously > there always is one available sh

Re: [whatwg] Device element and the lifetime of the stream objects

2011-02-16 Thread timeless
On Wed, Feb 16, 2011 at 2:36 PM, Anne van Kesteren wrote: > This is just a thought. Instead of acquiring a Stream object asynchronously > there always is one available showing transparent black or some such. :) > E.g. > navigator.cameraStream. It also inherits from EventTarget. Then on the > Str

Re: [whatwg] Device element and the lifetime of the stream objects

2011-02-16 Thread Anne van Kesteren
On Tue, 15 Feb 2011 17:48:24 +0100, Leandro Graciá Gil wrote: All feedback will be greatly appreciated. This is just a thought. Instead of acquiring a Stream object asynchronously there always is one available showing transparent black or some such. E.g. navigator.cameraStream. It also in

Re: [whatwg] Device element and the lifetime of the stream objects

2011-02-15 Thread timeless
2011/2/15 Leandro Graciá Gil : > Given the above case, we don't think that the lifetime of the Stream objects > should be controlled exclusively by the Web application. We think that the > specification should state "the UA must allow the user to explicitly revoke > access". The API should then be

[whatwg] Device element and the lifetime of the stream objects

2011-02-15 Thread Leandro Graciá Gil
Hi, Looking at the current state of the specification I see there is no mention about the expected lifetime of the stream objects, or to say it in another way, the period in which a page can access the selected device data. We would like to propose that the user can explicitly invalidate an existi