--- a/templates/index.html Wed Nov 20 19:40:23 2013 +0900
+++ b/templates/index.html Wed Nov 20 19:41:52 2013 +0900
<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="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
+ <script src="//ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>
<script src="{{ static_url('js/webrtc-adapter.js') }}"></script>
<script src="{{ static_url('js/main.js') }}"></script>
- <video id="remote" autoplay></video>
- <video id="local" autoplay muted></video>
- <section class="forms">
- <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>
- <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>
+ <div class="container">
+ <video id="remote" autoplay></video>
+ <video id="local" autoplay muted></video>
+ <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>
+ <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>
<span id="streaming" class="small"></span>
<span id="status" class="small"></span>