2:a26b16f37c1b
Anton Shestakov <engored@ya.ru>, Mon, 11 Mar 2013 23:44:44 +0900
User can choose to use audio/video or both. Also visually mark pressed button.

next change 3:d69239d4ae6d
previous change 1:4fde67f78a8e

templates/index.html

Permissions: -rw-r--r--

Other formats: Feeds:
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Tornado WebRTC</title>
<link rel="stylesheet" type="text/css" href="{{ static_url('css/kube.min.css') }}">
<link rel="stylesheet" type="text/css" href="{{ static_url('css/main.css') }}">
<script src="{{ static_url('js/webrtc-adapter.js') }}"></script>
<script src="{{ static_url('js/main.js') }}"></script>
</head>
<body>
<section>
<video id="remote" autoplay></video>
<video id="local" autoplay muted></video>
</section>
<section class="forms">
<ul>
<li><label class="small"><input id="audio" type="checkbox" checked>Use mic</label></li>
<li><label class="small"><input id="video" type="checkbox" checked>Use webcam</label></li>
<li class="btn-group">
<button id="btn-call" class="btn" onclick="call()">I want to call</button>
<button id="btn-receive" class="btn" onclick="receive()">I want to receive a call</button>
</li>
</ul>
</section>
</body>
</html>