blob: a99d918521afd308c83ddd66af83e56b481dbaee [file] [log] [blame]
<!DOCTYPE html>
Copyright 2014 The Chromium Authors. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Expires" content="-1">
<script type="text/javascript" src="common.js"></script>
<script type="text/javascript" src="example.js"></script>
<body data-width="640" data-height="240" {{attrs}}>
<h2>Status: <code id="statusField">NO-STATUS</code></h2>
<p>The MediaStream Video example demonstrates how to capture video from
a webcam.</p>
Left side shows YUV frames. Right side shows BGRA frames.<br>
<!-- The NaCl plugin will be embedded inside the element with id "listener".
See common.js.-->
<div id="listener"></div>
<button id="YV12">YV12</button>
<button id="I420" >I420</button>
<button id="BGRA" >BGRA</button>
<button id="DEFAULT" >DEFAULT</button>
<button id="S72X72" >72 x 72</button>
<button id="S640X360" >640 x 360</button>
<button id="S1280X720" >1280 x 720</button>
<button id="SDEFAULT" >DEFAULT</button>