| <!DOCTYPE html> |
| <!-- |
| * Copyright (c) 2017 The WebRTC project authors. All Rights Reserved. |
| * |
| * Use of this source code is governed by a BSD-style license |
| * that can be found in the LICENSE file in the root of the source |
| * tree. |
| --> |
| <html><head> |
| <title>Canvas capture stream to peerConnection</title> |
| </head> |
| <body> |
| <div id="container"> |
| <h1>Canvas capture stream to peerConnection</h1> |
| |
| <canvas id="canvas" width="32" height="24"></canvas> |
| <video id="remoteVideo" width="32" height="24" autoplay=""></video> |
| |
| <div> |
| <button id="startButton" class="green">Start test</button> |
| </div> |
| </div> |
| |
| |
| <script src="canvas-capture.js"></script> |
| </body></html> |