feat(ui): add Join Video button — joins call and auto-starts camera
Some checks failed
Mirror to GitHub / mirror (push) Failing after 39s
Build Release Binaries / build-amd64 (push) Failing after 3m25s

Blue FAB alongside Join Voice; click handler connects then calls
startCamera() so video is active from the moment the call starts.
Cam button inside drawer still toggles camera after joining either way.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Siavash Sameni
2026-05-25 16:39:27 +04:00
parent 7fd66be6c8
commit c41ced53e1
3 changed files with 47 additions and 1 deletions

View File

@@ -43,12 +43,16 @@
</div>
</div>
<!-- Voice join FAB -->
<!-- Voice / Video join FABs -->
<div class="lobby-fab-row">
<button id="join-voice-btn" class="fab" title="Join Voice Chat">
<span class="fab-icon">&#x1F3A7;</span>
<span class="fab-label">Join Voice</span>
</button>
<button id="join-video-btn" class="fab fab-video" title="Join with Video">
<span class="fab-icon">&#x1F4F9;</span>
<span class="fab-label">Join Video</span>
</button>
</div>
<!-- Incoming call banner -->