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

Re: Feedback on the recording proposal

From: Adam Bergkvist <adam.bergkvist@ericsson.com>
Date: Wed, 10 Oct 2012 10:05:03 +0200
Message-ID: <50752C2F.9090100@ericsson.com>
To: "robert@ocallahan.org" <robert@ocallahan.org>
CC: "public-media-capture@w3.org" <public-media-capture@w3.org>
On 2012-10-09 14:00, Robert O'Callahan wrote:
> On Wed, Oct 10, 2012 at 12:11 AM, Adam Bergkvist
> <adam.bergkvist@ericsson.com <mailto:adam.bergkvist@ericsson.com>> wrote:
>
>     On 2012-10-09 07:13, Robert O'Callahan wrote:
>
>         Does the last dataavailable event happen before or after the
>         stoprecording event? I guess it should be "before".
>
>
>     What if the data (on some platforms) needs to undergo some
>     processing before it can be handed to the application as a Blob.
>     Shouldn't "stoprecording" fire when the recording is actually
>     stopped and then "dataavailable" when the Blob is available.
>
>
> How then would you know when you've received all the data packets?

I see. It signals that you shouldn't expect any more "dataavilable" 
events. With that in mind I agree to the proposed order.

/Adam
Received on Wednesday, 10 October 2012 08:05:32 GMT

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