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

Re: recording proposal

From: Adam Bergkvist <adam.bergkvist@ericsson.com>
Date: Tue, 16 Oct 2012 14:50:11 +0200
Message-ID: <507D5803.8020704@ericsson.com>
To: Jim Barnett <Jim.Barnett@genesyslab.com>
CC: public-media-capture@w3.org
My preference would be when the last reference to the blob is lost.

/Adam

On 2012-10-16 13:41, Jim Barnett wrote:
> 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 12:50:37 GMT

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