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

Lachlan Hunt lachlan.hunt at lachy.id.au
Wed Mar 23 07:31:10 PDT 2011


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/



More information about the whatwg mailing list