You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

58 lines
1.4 KiB

​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. <html>
  2. <head>
  3. <title>PeerConnection web client</title>
  4. <script src="main.js"></script>
  5. <link rel="stylesheet" href="main.css" />
  6. </head>
  7. <body onload="onLoad()">
  8. <div id="iddivprntvideo">
  9. <div id="iddivremote">
  10. <video style="display:none" id="remote" autoplay="autoplay"></video>
  11. </div>
  12. </div>
  13. <div id="idpeers">
  14. <table>
  15. <tr>
  16. <td><div id="idtext">Server</div>
  17. <input class="input" type="text" id="server" width="200px" value="http://127.0.0.1:8888" /></td>
  18. </tr>
  19. <tr>
  20. <td><div id="idtext">My name</div>
  21. <input class="input" type="text" id="local" value="PCpilsup" autofocus/></td>
  22. <td class="idbutton"><button id="connect" onclick="connect();">Sign in</button>
  23. <button disabled="true" id="disconnect" onclick="disconnect();">Sign out</button>
  24. </td>
  25. </tr>
  26. </table>
  27. <hr>
  28. <text id="availablePeers"></text>
  29. <div id="idpeersData">
  30. <table id="peersLog">
  31. </table>
  32. </div>
  33. </div>
  34. <div id="iddebug">
  35. <table>
  36. <tr>
  37. <td>
  38. <div id="myID">My ID: </div>
  39. </td>
  40. </tr>
  41. <tr>
  42. <td>
  43. <div id="remoteID"> Remote ID:
  44. <input readonly type="text" id="peer_id" value="-1" style="border: 0px solid;" />
  45. Remote Name:
  46. <input readonly type="text" id="callee" value="" style="border: 0px solid;"/>
  47. </div>
  48. </td>
  49. </tr>
  50. </table>
  51. </div>
  52. </body>
  53. </html>