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

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

From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
Date: Wed, 23 Mar 2011 15:31:10 +0100
Message-ID: <4D8A042E.5030002@lachy.id.au>
On 2011-03-18 15:02, Lachlan Hunt wrote:
> On 2011-03-18 05:45, Ian Hickson wrote:
>> On Mon, 24 Jan 2011, Anne van Kesteren wrote:
>>> ...
>>> audio.src = blob
>>>
>>> (The src content attribute would then be something like
>>> "about:objecturl".)
>>
>> Could you elaborate on this plan?
>
> ... we avoid the unnecessary overhead of creating a magic URL, and
> instead just assign the object directly to the src property...
>
> i.e.
>
> <video></video>
> <script>
> var v = document.querySelector("video");
> navigator.getUserMedia("video", function(stream) {
>   v.src = stream;
>   v.play();
> });
> </script>
>
> The getter for v.src then returns "about:streamurl".

We've just released a preview build of Opera Mobile on Android that 
supports this functionality as described above.

http://my.opera.com/core/blog/2011/03/23/webcam-orientation-preview

-- 
Lachlan Hunt - Opera Software
http://lachy.id.au/
http://www.opera.com/
Received on Wednesday, 23 March 2011 07:31:10 UTC

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