Chromium Code Reviews| 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 GetUserMedia Constraints Manual Test</title> | 4 <title>WebRTC GetUserMedia Constraints Manual Test</title> |
| 5 <meta http-equiv="X-UA-Compatible" content="chrome=1"/> | |
| 6 <!-- Load the polyfill to switch-hit between Chrome and Firefox --> | |
|
phoglund_chromium
2013/03/22 15:07:18
Nit: try to avoid line wrapping, for instance by m
elham1
2013/03/25 21:58:23
Done.
| |
| 7 <script type="text/javascript" src="https://webrtc.googlecode.com/svn/trunk/sa mples/js/base/adapter.js"></script> | |
| 5 <script type="text/javascript" src="constraints.js"></script> | 8 <script type="text/javascript" src="constraints.js"></script> |
| 6 <link rel="StyleSheet" type="text/css" href="stylesheet.css"> | 9 <link rel="StyleSheet" type="text/css" href="stylesheet.css"> |
| 7 <meta charset="utf-8"> | 10 <meta charset="utf-8"> |
| 8 </head> | 11 </head> |
| 9 <body> | 12 <body> |
| 10 | 13 |
| 11 <div id="wrapper"> | 14 <div id="wrapper"> |
| 12 <div id="left"> | 15 <div id="left"> |
| 13 <p>This page can create GetUserMedia <a href="http://goo.gl/qZQjV"> | 16 <p>This page can create GetUserMedia <a href="http://goo.gl/qZQjV"> |
| 14 MediaStreamConstraints</a> that can be used on the<br/> | 17 MediaStreamConstraints</a> that can be used on the<br/> |
| (...skipping 24 matching lines...) Expand all Loading... | |
| 39 Min | 42 Min |
| 40 <input type="text" id="optional-min-width" size="4"/>x | 43 <input type="text" id="optional-min-width" size="4"/>x |
| 41 <input type="text" id="optional-min-height" size="4"/> | 44 <input type="text" id="optional-min-height" size="4"/> |
| 42 FPS: <input type="text" id="optional-min-fps" size="2"/> | 45 FPS: <input type="text" id="optional-min-fps" size="2"/> |
| 43 Aspect ratio: <input type="text" id="optional-min-ar" size="2"/><br/> | 46 Aspect ratio: <input type="text" id="optional-min-ar" size="2"/><br/> |
| 44 Max | 47 Max |
| 45 <input type="text" id="optional-max-width" size="4"/>x | 48 <input type="text" id="optional-max-width" size="4"/>x |
| 46 <input type="text" id="optional-max-height" size="4"/> | 49 <input type="text" id="optional-max-height" size="4"/> |
| 47 FPS: <input type="text" id="optional-max-fps" size="2"/> | 50 FPS: <input type="text" id="optional-max-fps" size="2"/> |
| 48 Aspect ratio: <input type="text" id="optional-max-ar" size="2"/><br/> | 51 Aspect ratio: <input type="text" id="optional-max-ar" size="2"/><br/> |
| 49 <button id="re-request" onclick="getUserMedia();"> | 52 <button id="re-request" onclick="doGetUserMedia();"> |
| 50 Request GetUserMedia | 53 Request GetUserMedia |
| 51 </button> | 54 </button> |
| 52 <h2>Messages</h2> | 55 <h2>Messages</h2> |
| 53 <pre id="messages"></pre> | 56 <pre id="messages"></pre> |
| 54 </div> | 57 </div> |
| 55 <div> | 58 <div> |
| 56 <h2>Local Preview</h2> | 59 <h2>Local Preview</h2> |
| 57 <video width="320" height="240" id="local-view" autoplay="autoplay"> | 60 <video width="320" height="240" id="local-view" autoplay="autoplay"> |
| 58 </video> | 61 </video> |
| 59 </div> | 62 </div> |
| 60 </div> | 63 </div> |
| 61 </body> | 64 </body> |
| 62 </html> | 65 </html> |
| OLD | NEW |