Index: native_client_sdk/src/examples/api/video_encode/index.html |
diff --git a/native_client_sdk/src/examples/api/media_stream_audio/index.html b/native_client_sdk/src/examples/api/video_encode/index.html |
similarity index 55% |
copy from native_client_sdk/src/examples/api/media_stream_audio/index.html |
copy to native_client_sdk/src/examples/api/video_encode/index.html |
index dafb02174f9a85d4b07cfcfae2f1134b49d18607..1f61eb256665a96d6a0fe08dded2404985f53847 100644 |
--- a/native_client_sdk/src/examples/api/media_stream_audio/index.html |
+++ b/native_client_sdk/src/examples/api/video_encode/index.html |
@@ -1,7 +1,7 @@ |
<!DOCTYPE html> |
<html> |
<!-- |
-Copyright 2014 The Chromium Authors. All rights reserved. |
+Copyright 2015 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. |
--> |
@@ -11,14 +11,22 @@ found in the LICENSE file. |
<title>{{title}}</title> |
<script type="text/javascript" src="common.js"></script> |
<script type="text/javascript" src="example.js"></script> |
-</head> |
+ </head> |
<body data-width="640" data-height="480" {{attrs}}> |
<h1>{{title}}</h1> |
<h2>Status: <code id="statusField">NO-STATUS</code></h2> |
- <p>The MediaStream Audio example demonstrates how to capture audio data from |
- an audio input device.</p> |
+ <p>The VideoEncode example demonstrates how to encode video.</p> |
+ <br> |
+ <select id="profileList"></select> |
+ <input type="button" id="start" value="Start Recording" disabled="true"/> |
+ <input type="button" id="stop" value="Stop Recording" disabled="true"/> |
+ <div id="download-box"></div> |
+ <div id="length"></div> |
+ <br> |
+ <video id="video" width="640px" height="480px"></video> |
<!-- The NaCl plugin will be embedded inside the element with id "listener". |
See common.js.--> |
<div id="listener"></div> |
-</body> |
+ <pre id="log" style="font-weight: bold"></pre> |
+ </body> |
</html> |