feat: Add password-based authentication for broadcasters and restrict WebRTC offers to authenticated users.
This commit is contained in:
@@ -14,6 +14,9 @@
|
||||
<div class="container glass">
|
||||
<h1>Share Your Screen</h1>
|
||||
<p>Broadcast your screen at 1080p 60fps to viewers.</p>
|
||||
<div id="authContainer" style="margin-bottom: 1.5rem;">
|
||||
<input type="password" id="broadcasterPassword" placeholder="Enter stream password" style="padding: 0.8rem 1rem; border-radius: 8px; border: 1px solid var(--glass-border); background: rgba(0,0,0,0.2); color: white; width: 100%; max-width: 300px; font-family: inherit; font-size: 1rem; outline: none;">
|
||||
</div>
|
||||
<button id="startBtn" class="btn primary-btn">Start Screenshare</button>
|
||||
<div class="status-indicator">
|
||||
<span class="dot" id="statusDot"></span>
|
||||
|
||||
Reference in New Issue
Block a user