OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <!-- | 3 <!-- |
4 Copyright 2014 The Chromium Authors. All rights reserved. | 4 Copyright 2014 The Chromium Authors. All rights reserved. |
5 Use of this source code is governed by a BSD-style license that can be | 5 Use of this source code is governed by a BSD-style license that can be |
6 found in the LICENSE file. | 6 found in the LICENSE file. |
7 --> | 7 --> |
8 <head> | 8 <head> |
9 <meta http-equiv="Pragma" content="no-cache"> | 9 <meta http-equiv="Pragma" content="no-cache"> |
10 <meta http-equiv="Expires" content="-1"> | 10 <meta http-equiv="Expires" content="-1"> |
11 <title>{{title}}</title> | 11 <title>{{title}}</title> |
12 <script type="text/javascript" src="common.js"></script> | 12 <script type="text/javascript" src="common.js"></script> |
13 <script type="text/javascript" src="example.js"></script> | 13 <script type="text/javascript" src="example.js"></script> |
14 </head> | 14 </head> |
15 <body data-width="640" data-height="480" {{attrs}}> | 15 <body data-width="640" data-height="240" {{attrs}}> |
16 <h1>{{title}}</h1> | 16 <h1>{{title}}</h1> |
17 <h2>Status: <code id="statusField">NO-STATUS</code></h2> | 17 <h2>Status: <code id="statusField">NO-STATUS</code></h2> |
18 <p>The MediaStream Video example demonstrates how to capture video from | 18 <p>The MediaStream Video example demonstrates how to capture video from |
19 a webcam.</p> | 19 a webcam.</p> |
| 20 Left side shows YUV frames. Right side shows BGRA frames.<br> |
20 <!-- The NaCl plugin will be embedded inside the element with id "listener". | 21 <!-- The NaCl plugin will be embedded inside the element with id "listener". |
21 See common.js.--> | 22 See common.js.--> |
22 <div id="listener"></div> | 23 <div id="listener"></div> |
| 24 <h2>Format:</h2><br> |
| 25 <button id="YV12">YV12</button> |
| 26 <button id="I420" >I420</button> |
| 27 <button id="BGRA" >BGRA</button> |
| 28 <button id="DEFAULT" >DEFAULT</button> |
| 29 <h2>Size:</h2><br> |
| 30 <button id="S72X72" >72 x 72</button> |
| 31 <button id="S640X360" >640 x 360</button> |
| 32 <button id="S1280X720" >1280 x 720</button> |
| 33 <button id="SDEFAULT" >DEFAULT</button> |
23 </body> | 34 </body> |
24 </html> | 35 </html> |
OLD | NEW |