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

Example of usage of the getSourceInfos selection interface

From: Harald Alvestrand <harald@alvestrand.no>
Date: Wed, 17 Apr 2013 23:48:53 +0200
Message-ID: <516F18C5.9020808@alvestrand.no>
To: "public-media-capture@w3.org" <public-media-capture@w3.org>
Hi,

I wrote a short program that uses the getSourceInfos interface to switch 
video streams.
Since it doesn't work yet, I faked it. But once everything it uses that 
doesn't work yet starts working,
it should actually work unmodified.

Please take a look.

https://webrtc.googlecode.com/svn/trunk/samples/js/demos/html/device-switch.html

(just now, it's serving as text, so you'll have to save it to a file and 
open in a browser. Trying to find the fix to that - sorry!)
Have fun!

             Harald
Received on Wednesday, 17 April 2013 21:49:23 UTC

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