2021-12-04 15:59:25 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
2022-03-29 11:26:29 +00:00
|
|
|
<meta name="viewport" content="width=device-width, height= initial-scale=1.0">
|
|
|
|
<link rel="stylesheet" href="./css/mystyle.css">
|
2021-12-04 15:59:25 +00:00
|
|
|
<title>SimpleStream</title>
|
2022-03-29 08:50:15 +00:00
|
|
|
<!-- //asset self hosting for non internet environments
|
|
|
|
//TODO: improve this later with correct tools like bundeling
|
|
|
|
-->
|
|
|
|
<link href="./css/bootstrap.min.css" rel="stylesheet">
|
|
|
|
<script src="./lib/jquery.min.js"></script>
|
|
|
|
<script src="./lib/bootstrap.bundle.min.js"></script>
|
|
|
|
<script src="./lib/peerjs.min.js"></script>
|
2021-12-04 15:59:25 +00:00
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
2022-03-29 11:26:29 +00:00
|
|
|
<div class="container-fluid vh-100">
|
|
|
|
<div class="row-fluid">
|
2022-03-29 08:50:15 +00:00
|
|
|
<div class="col-md-auto">
|
2022-03-29 11:26:29 +00:00
|
|
|
<h1>SimpleStream (Alpha)</h1>
|
2021-12-04 15:59:25 +00:00
|
|
|
<h2>Your ID: <span id="streamId"></span></h2>
|
|
|
|
<div id="streamURLCont">
|
|
|
|
<h2>Connect URL: <a id="streamURL"></a></h2>
|
|
|
|
</div>
|
|
|
|
<div id="connectToCont">
|
|
|
|
<h2>Connecting to: <span id="connectToID"></span></h2>
|
|
|
|
<button id="startStramBTN">Start Stream</button>
|
|
|
|
</div>
|
2022-03-29 11:26:29 +00:00
|
|
|
</div>
|
|
|
|
<video id="localVideo" autoplay muted></video>
|
2021-12-04 15:59:25 +00:00
|
|
|
</div>
|
2022-03-29 11:26:29 +00:00
|
|
|
|
2021-12-04 15:59:25 +00:00
|
|
|
</div>
|
|
|
|
|
2022-03-29 11:26:29 +00:00
|
|
|
<!-- style="min-width: 100%; min-height: 100%;width: auto; height: auto; z-index: -100; background-color: black;" -->
|
2021-12-04 15:59:25 +00:00
|
|
|
|
|
|
|
<script src="main.mjs" type="module">
|
|
|
|
</script>
|
|
|
|
</body>
|
|
|
|
|
|
|
|
</html>
|