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

[whatwg] Peer-to-peer communication, video conferencing, <device>, and related topics

From: Olli Pettay <Olli.Pettay@helsinki.fi>
Date: Fri, 18 Mar 2011 16:14:45 +0200
Message-ID: <4D8368D5.2030604@helsinki.fi>
On 03/18/2011 04:02 PM, Lachlan Hunt wrote:
>> On Mon, 24 Jan 2011, Anne van Kesteren wrote:
>>> There is a plan of allowing direct assigning to IDL attributes besides
>>> creating URLs.
>>> I.e. being able to do:
>>> audio.src = blob
>>> (The src content attribute would then be something like
>>> "about:objecturl".)
>>> I am not sure if that API should work differently from creating URLs and
>>> assigning those, but we could consider it.
>> Could you elaborate on this plan?
> This is basically what Philip and I were discussing in the other thread
> yesterday, where we avoid the unnecessary overhead of creating a magic
> URL, and instead just assign the object directly to the src property.
> This lets the implementation handle all the magic transparently in the
> background, without bothering to expose a URLs string to the author.

And I was arguing that we could avoid creating the probably somewhat 
heavy stream object if we could just assign the url, or perhaps
some DOMURL object to video/audio.src.

Received on Friday, 18 March 2011 07:14:45 UTC

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