index.html 860 Bytes
Newer Older
1 2 3 4
<!doctype html>
<html>
  <head>
    <meta charset="utf-8">
5
    <link rel="stylesheet" href="style.css">
6 7 8
  </head>
  <body>
    <script src="https://cdn.jsdelivr.net/npm/hls.js"></script>
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
    <div id="header">
      <img src="COLLABORA_01_MONO.png">
    </div>
    <div id="videos">
      <div class="display_container">
        <video id="hls_video" autoplay></video>
        <div>HLS</div>
      </div>
      <div class="display_container">
        <video id="webrtc_video" autoplay></video>
        <div>WebRTC</div>
      </div>
    </div>
    <div id="footer">
      <img src="gStreamer.svg">
    </div>
25

Jakub Adam's avatar
Jakub Adam committed
26 27 28
    <script type="module">
      import * as mss from './mss.js'

Jakub Adam's avatar
Jakub Adam committed
29
      var hls = new mss.HLSStream(document.getElementById("hls_video"))
Jakub Adam's avatar
Jakub Adam committed
30
      var webrtc = new mss.WebRTCStream(document.getElementById("webrtc_video"))
31 32 33
    </script>
  </body>
</html>