4 Star 17 Fork 5

开源技术小栈 / WebRTC-tutorial

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
index.html 677 Bytes
一键复制 编辑 原始数据 按行查看 历史
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Use getUserMedia with canvas</title>
<link rel="stylesheet" href="../main.css">
</head>
<body>
<div id="container">
<h1>创建一个拍照室应用</h1>
<p>捕捉照片到Canvas,使用Canvas API 绘制其中的一帧视频到屏幕上</p>
<video autoplay></video>
<button>开始捕捉</button>
<canvas></canvas>
<p>Draw a frame from the video onto the canvas element using the <code>drawImage()</code> method.</p>
</div>
<script src="../adapter.js"></script>
<script src="main.js"></script>
</body>
</html>
1
https://gitee.com/Tinywan/WebRTC-tutorial.git
git@gitee.com:Tinywan/WebRTC-tutorial.git
Tinywan
WebRTC-tutorial
WebRTC-tutorial
master

搜索帮助