OLD | NEW |
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> | 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <title>WebRTC Automated Test</title> | 4 <title>WebRTC Automated Test</title> |
5 <script type="text/javascript" src="adapter.js"></script> | 5 <script type="text/javascript" src="adapter.js"></script> |
6 <script type="text/javascript" src="test_functions.js"></script> | 6 <script type="text/javascript" src="test_functions.js"></script> |
7 <script type="text/javascript" src="message_handling.js"></script> | 7 <script type="text/javascript" src="message_handling.js"></script> |
8 <script type="text/javascript" src="getusermedia.js"></script> | 8 <script type="text/javascript" src="getusermedia.js"></script> |
9 <script type="text/javascript" src="jsep01_call.js"></script> | 9 <script type="text/javascript" src="jsep01_call.js"></script> |
10 <script type="text/javascript" src="video_extraction.js"></script> | 10 <script type="text/javascript" src="video_extraction.js"></script> |
11 </head> | 11 </head> |
12 <body> | 12 <body> |
13 <table border="0"> | 13 <table border="0"> |
14 <tr> | 14 <tr> |
15 <td>Local Preview</td> | 15 <td>Local Preview</td> |
16 <td>Remote Video</td> | 16 <td>Remote Video</td> |
17 </tr> | 17 </tr> |
18 <tr> | 18 <tr> |
19 <td> | 19 <td> |
20 <video id="local-view" autoplay="autoplay"></video> | 20 <video id="local-view" autoplay="autoplay"></video> |
21 </td> | 21 </td> |
22 <td> | 22 <td> |
23 <!-- startFrameCapture() takes 5 parameters: | 23 <!-- startFrameCapture() takes 3 parameters: |
24 1. width: width of the video/canvas area. | 24 1. reference to remote video tag. |
25 2. height: height of the video area. | 25 2. fps: fps at which we would like to sample. |
26 3. canvas_height: Height of the canvas. | 26 3. duration: The duration of the capturing. --> |
27 4. fps: fps at which we would like to sample. | |
28 5. duration: The duration of the capturing. --> | |
29 <video id="remote-view" autoplay="autoplay" | 27 <video id="remote-view" autoplay="autoplay" |
30 onplay="startFrameCapture(this, 30, 5)"></video> | 28 onplay="startFrameCapture(this, 30, 5)"></video> |
31 </td> | 29 </td> |
32 </tr> | 30 </tr> |
33 <tr> | |
34 <td></td> | |
35 <td> | |
36 <div id="output"> | |
37 <canvas id="remote-canvas"></canvas> | |
38 </div> | |
39 </td> | |
40 </tr> | |
41 </table> | 31 </table> |
42 </body> | 32 </body> |
43 </html> | 33 </html> |
OLD | NEW |