W3C home > Mailing lists > Public > public-media-capture@w3.org > October 2012

RE: recording proposal

From: Jim Barnett <Jim.Barnett@genesyslab.com>
Date: Tue, 16 Oct 2012 04:41:01 -0700
Message-ID: <E17CAD772E76C742B645BD4DC602CD8106DB59AF@NAHALD.us.int.genesyslab.com>
To: "Adam Bergkvist" <adam.bergkvist@ericsson.com>
Cc: <public-media-capture@w3.org>
Yes,  I don't think that you could do that.  Otherwise, how does the UA
know when it can garbage collect the data?  There could be quite a lot
of it.  

- Jim

-----Original Message-----
From: Adam Bergkvist [mailto:adam.bergkvist@ericsson.com] 
Sent: Tuesday, October 16, 2012 5:08 AM
To: Jim Barnett
Cc: public-media-capture@w3.org
Subject: Re: recording proposal

On 2012-10-05 15:55, Jim Barnett wrote:
> Here is a proposal for recording for discussion on Tuesday's call.
>
> -Jim and Travis
>

> The UA may garbage collect the original Blob of data once the 
> dataavailable event that contains it has been processed.

Does this mean that I couldn't do the following?

var blobs = [];
track.ondataavailable = function (evt) {
     blobs.push(evt.data);
};

/Adam
Received on Tuesday, 16 October 2012 11:42:14 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 16:15:02 GMT