Files
webrtc-real-time-ip-phone/frontend-web-vanilla/index.html
2025-11-26 22:33:30 -05:00

32 lines
1.1 KiB
HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>frontend-web-vanilla</title>
<link rel="stylesheet" href="styles.css" />
</head>
<body>
<div id="app" class="flex-column">
<div class="flex-container flex-row">
<div class="video-container">
<h3 class="centered-text">Local</h3>
<video id="local-video" autoplay playsinline muted controls></video>
<div class="controls-container">
<button id="start-local-media">Start Local Media</button>
<button id="create-and-send-offer" disabled>Create & Send Offer</button>
</div>
</div>
<div class="video-container">
<h3 class="centered-text">Remote</h3>
<video id="remote-video" autoplay playsinline muted></video>
<div class="controls-container">
<button id="create-and-send-answer" disabled>Create & Send Answer</button>
</div>
</div>
</div>
</div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>