- From: Mandyam, Giridhar <mandyam@quicinc.com>
- Date: Wed, 28 Nov 2012 19:28:50 +0000
- To: Stefan Hakansson LK <stefan.lk.hakansson@ericsson.com>, "public-media-capture@w3.org" <public-media-capture@w3.org>
There is a difference between returning a blob at timeSlice intervals until stopRecording is called, versus returning a File object only once. I don't want to get into a discussion on how different GC's are treating blobs today, but to say that there is no performance difference between the two is premature. -----Original Message----- From: Stefan Hakansson LK [mailto:stefan.lk.hakansson@ericsson.com] Sent: Wednesday, November 28, 2012 11:15 AM To: public-media-capture@w3.org Subject: Re: revised recording proposal On 11/28/2012 07:49 PM, Mandyam, Giridhar wrote: >>Were you thinking of using the File interface (the same spec you > referred to), or of something else? > > I was thinking of leveraging File API, but having a File object > returned (see http://www.w3.org/TR/FileAPI/#dfn-file) instead of a Blob. Given that a File in this context is a Blob with a name and a last-modified attribute added to it, it seems that there is not much to gain by delaying recording to a Blob (and only do File in version 1). Stefan
Received on Wednesday, 28 November 2012 19:29:20 UTC