Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(243)

Side by Side Diff: chrome/test/data/webrtc/webrtc_video_quality_test.html

Issue 254803002: Making webrtc video quality test page generic (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressing comments Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 onload="initialize()">
kjellander_chromium 2014/04/29 08:17:37 Make sure you remove this, since it will cause a J
amogh.bihani 2014/04/29 10:38:53 Done.
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 width="640" height="360" id="local-view" 20 <video id="local-view" autoplay="autoplay"></video>
21 autoplay="autoplay"></video>
22 </td> 21 </td>
23 <td> 22 <td>
24 <!-- startFrameCapture() takes 5 parameters: 23 <!-- startFrameCapture() takes 5 parameters:
25 1. width: width of the video/canvas area. 24 1. width: width of the video/canvas area.
26 2. height: height of the video area. 25 2. height: height of the video area.
27 3. canvas_height: Height of the canvas. 26 3. canvas_height: Height of the canvas.
28 4. fps: fps at which we would like to sample. 27 4. fps: fps at which we would like to sample.
29 5. duration: The duration of the capturing. --> 28 5. duration: The duration of the capturing. -->
30 <video width="640" height="360" id="remote-view" 29 <video id="remote-view" autoplay="autoplay"
31 autoplay="autoplay" onplay="startFrameCapture(640,360,360,30,5)"> 30 onplay="startFrameCapture('local-view', 30, 5)"></video>
kjellander_chromium 2014/04/29 08:17:37 'local-view' here is wrong, it should be 'remote-v
phoglund_chromium 2014/04/29 08:48:20 Yeah, I missed that; good catch.
amogh.bihani 2014/04/29 10:38:53 Done.
32 </video>
33 </td> 31 </td>
34 </tr> 32 </tr>
35 <tr> 33 <tr>
36 <td></td> 34 <td></td>
37 <td> 35 <td>
38 <div id="output" style="display: inline-block; 36 <div id="output">
39 position: relative; width: 640; height: 360">
40 <!-- Canvas height should be equal to video height if we want to 37 <!-- Canvas height should be equal to video height if we want to
41 capture the whole frames. If we only want to capture the barcode, 38 capture the whole frames. If we only want to capture the barcode,
42 canvas height should equal the barcode height. --> 39 canvas height should equal the barcode height. -->
43 <canvas id="remote-canvas" width="640" height="360"></canvas> 40 <canvas id="remote-canvas"></canvas>
kjellander_chromium 2014/04/29 08:17:37 Now that you remove the size of the canvas, does i
amogh.bihani 2014/04/29 10:38:53 I think this would work as first two frames are ne
kjellander_chromium 2014/04/29 11:28:16 I tried out your CL locally and it doesn't. The de
amogh.bihani 2014/04/29 11:43:02 I added the deps in gclient as mentioned in https:
44 </div> 41 </div>
45 </td> 42 </td>
46 </tr> 43 </tr>
47 </table> 44 </table>
48 </body> 45 </body>
49 </html> 46 </html>
OLDNEW
« chrome/test/data/webrtc/video_extraction.js ('K') | « chrome/test/data/webrtc/video_extraction.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698