index.html 819 Bytes
Newer Older
1 2 3 4
<!doctype html>
<html>
  <head>
    <meta charset="utf-8">
5
    <link rel="stylesheet" href="style.css">
6 7
  </head>
  <body>
8
    <script src="hls.js"></script>
Jakub Adam's avatar
Jakub Adam committed
9
    <header>
10
      <img src="COLLABORA_01_MONO.png">
Jakub Adam's avatar
Jakub Adam committed
11
    </header>
12 13 14 15 16 17 18 19 20 21
    <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>
Jakub Adam's avatar
Jakub Adam committed
22
    <footer>
23
      <img src="gStreamer.svg">
Jakub Adam's avatar
Jakub Adam committed
24
    </footer>
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>