W3C home > Mailing lists > Public > whatwg@whatwg.org > March 2011

[whatwg] File API Streaming Blobs

From: Simon Heckmann <simon@simonheckmann.de>
Date: Mon, 21 Mar 2011 17:17:59 +0100
Message-ID: <20110321161759.CA6C8304A02D@bmail00.one.com>
Hello everyone,



I found this thread
(<http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2011-January/02997
3.html>) in the archive of this mailing list, but I could not determine
if any decision was made whether this should be implemented or not. I am
interested in this, because I came up with a scenario which would
benefit from Streaming Blobs:




I use the File API to locally store larger video files on the users hard
drive. For security purposes I encrypted them with AES and use a
javascript library for local just-in-time decryption. This is not yet a
productive application bur more of a prototype. However, I experienced
javascript manipulation of large data can be quite slow so we do not
want the user to wait until the full video is decrypted/manipulated.
Therefore I would vote for a way to append data to a Blob and the
ObjectURL reflects these modifications. Maybe something like
createStreamableObjectURL could be used for differentiation?




Just wanted to express my thoughts because I think the whole File API is
a great idea!




Kind regards,

Simon Heckmann
Received on Monday, 21 March 2011 09:17:59 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:31 UTC