RE: MediaStreams and src attributes

> From: Adam Barth [mailto:w3c@adambarth.com]
> 
> On Thu, Aug 23, 2012 at 9:54 AM, Travis Leithead
> <travis.leithead@microsoft.com> wrote:
> > From: rocallahan@gmail.com [mailto:rocallahan@gmail.com] On Behalf Of
> > Robert O'Callahan
> >> And lifetime problems. It may be valuable to have a dedicated API that
> covers exactly the resources we have JS object representations for; I think
> that's as general as we can get without introducing the lifetime problems.
> >
> > There seems to be a lot of concerns about lifetime problems. Can you
> elaborate on this? I would expect "lifetime problems" to plague all users of
> createObjectURL (such as FileAPI), which is one reason for the current
> behavior of defaulting to "autoRevoke" = true in
> http://www.w3.org/TR/FileAPI/#creating-revoking. Do you have another
> concern?
> 
> Interesting.  I wasn't aware of autoRevoke.  Does anyone implement that?


IE10 implements a variation of this, although somewhat unfortunately, the default is reversed (e.g., you have to opt-in to "oneTimeUse" [1] instead of having it be the default).

[1] http://msdn.microsoft.com/en-us/library/hh972897(v=vs.85)

Received on Thursday, 23 August 2012 18:45:30 UTC