Re: recording proposal

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 UTC