<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>WebRTC API</title>
  <style>
    #container {
      display: flow-root;
    }
    #caller, #receiver {
      float: left;
      margin: 5px;
      padding: 5px;
      border: 1px solid #000000;
    }
    #buttons {
      width: 528px;
      text-align: center;
    }
    #databox {
      width: 526px;
      height: 300px;
      margin: 5px;
      padding: 5px;
      border: 1px solid #000000;
    }
  </style>
  <script src="webrtc.js"></script>
</head>
<body>
  <div id="container">
    <section id="caller">
      <video id="callermedia" width="250" height="200"></video>
    </section>
    <section id="receiver">
      <video id="receivermedia" width="250" height="200"></video>
    </section>
  </div>
  <nav id="buttons">
    <input type="button" id="callbutton" value="Call">
    <input type="text" id="myinput" size="60" required>
    <input type="button" id="sendbutton" value="Send">
  </nav>
  <section id="databox"></section>
</body>
</html>