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

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