W3C home > Mailing lists > Public > public-media-capture@w3.org > April 2013

Re: [Bug 19594] remove "BLOB" from url usage for createObjectURL()

From: Stefan Håkansson LK <stefan.lk.hakansson@ericsson.com>
Date: Mon, 15 Apr 2013 13:19:30 +0200
Message-ID: <516BE242.1000401@ericsson.com>
To: public-media-capture@w3.org
On 4/13/13 2:57 PM, bugzilla@jessica.w3.org wrote:
> https://www.w3.org/Bugs/Public/show_bug.cgi?id=19594
>
> Robert O'Callahan (Mozilla) <roc@ocallahan.org> changed:
>
>             What    |Removed                     |Added
> ----------------------------------------------------------------------------
>                   CC|                            |roc@ocallahan.org
>
> --- Comment #3 from Robert O'Callahan (Mozilla) <roc@ocallahan.org> ---
> createObjectURL(MediaStream) does not return a URL representing a blob. The URL
> it returns can only be used as a media element source and does not correspond
> to a fixed array of bytes as blobs do. Thus the URL should use a different
> scheme.
>
> In Firefox we return a URL of the form "mediastream:<uuid>".

This seems reasonable to me.

But I do note that the Streams API, which does not represent a *fixed* 
array of bytes seem OK with using the "blob:" scheme.

>
> Likewise, our WIP MediaSource implementation has createObjectURL(MediaSource)
> returning a URL of the form "mediasource:<uuid>".
>
Received on Monday, 15 April 2013 11:19:52 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:24:40 UTC