From f1bf3a00b2fe0f8b67e57f6cc39271f130de3b7f Mon Sep 17 00:00:00 2001 From: "hta@webrtc.org" Date: Wed, 17 Apr 2013 14:24:21 +0000 Subject: [PATCH] A device switcher code example, with fake. This demo shows the usage of the proposed getDeviceInfo call and its associatied permissions model. Review URL: https://webrtc-codereview.appspot.com/1320008 git-svn-id: http://webrtc.googlecode.com/svn/trunk@3862 4adac7df-926f-26a2-2b94-8c16560cd09d --- samples/js/demos/html/device-switch.html | 154 +++++++++++++++++++++++ 1 file changed, 154 insertions(+) create mode 100644 samples/js/demos/html/device-switch.html diff --git a/samples/js/demos/html/device-switch.html b/samples/js/demos/html/device-switch.html new file mode 100644 index 0000000000..f819a94fb3 --- /dev/null +++ b/samples/js/demos/html/device-switch.html @@ -0,0 +1,154 @@ + + + +Device Switching + + + + +This demo shows device switching via the (proposed) device selection API. +The big frame shows the currently playing stream; the grid below shows +available devices, with a button for choosing a device. +

+ +
+ +

+
+ + + +