OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <script type="text/javascript" src="webrtc_test_utilities.js"></script> | 3 <script type="text/javascript" src="webrtc_test_utilities.js"></script> |
4 <script type="text/javascript"> | 4 <script type="text/javascript"> |
5 $ = function(id) { | 5 $ = function(id) { |
6 return document.getElementById(id); | 6 return document.getElementById(id); |
7 }; | 7 }; |
8 | 8 |
9 var gLocalStream = null; | 9 var gLocalStream = null; |
10 | 10 |
(...skipping 431 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
442 callback(result); | 442 callback(result); |
443 } | 443 } |
444 } | 444 } |
445 var detectorInterval = setInterval(detectorFunction, 50); | 445 var detectorInterval = setInterval(detectorFunction, 50); |
446 } | 446 } |
447 </script> | 447 </script> |
448 </head> | 448 </head> |
449 <body> | 449 <body> |
450 <table border="0"> | 450 <table border="0"> |
451 <tr> | 451 <tr> |
452 <td>Local Preview</td> | |
453 </tr> | |
454 <tr> | |
455 <td><video width="320" height="240" id="local-view" | 452 <td><video width="320" height="240" id="local-view" |
456 autoplay="autoplay"></video></td> | 453 autoplay="autoplay" style="display:none"></video></td> |
457 <td><canvas id="local-view-canvas" | 454 <td><canvas id="local-view-canvas" |
458 style="display:none"></canvas></td> | 455 style="display:none"></canvas></td> |
459 </tr> | 456 </tr> |
460 <tr> | 457 <tr> |
461 <td>Local Preview 2</td> | |
462 </tr> | |
463 <tr> | |
464 <td><video width="320" height="240" id="local-view-2" | 458 <td><video width="320" height="240" id="local-view-2" |
465 autoplay="autoplay"></video></td> | 459 autoplay style="display:none"></video></td> |
466 <!-- Canvases are named after their corresponding video elements. --> | 460 <!-- Canvases are named after their corresponding video elements. --> |
467 <td><canvas width="320" height="240" id="local-view-2-canvas" | 461 <td><canvas width="320" height="240" id="local-view-2-canvas" |
468 style="display:none"></canvas></td> | 462 style="display:none"></canvas></td> |
469 </tr> | 463 </tr> |
470 </table> | 464 </table> |
471 </body> | 465 </body> |
472 </html> | 466 </html> |
OLD | NEW |