fix(voice): self-video, DM-call takeover, and live participants preview #118
Owner
- Camera toggle on: call updateTileMedia(self) and reassign srcObject so the local
- Accepting a 1:1 DM call now leaves any active enclave voice channel first, so a single user cannot end up in two simultaneous calls fighting over the mic/camera.
- Broadcast VoiceJoined/VoiceLeft to room subscribers (not just current voice members) and have the voice page subscribe to its room over WS. Maintain a live participants map on the client, seeded from the server-rendered preview and updated on every roster/joined/left event, then re-render the preview HTML from it (including before un-hiding it on leave). Fixes the leaver seeing "no one here" after leaving a busy call and the joiner seeing an empty preview on a busy call.
- Camera toggle on: call updateTileMedia(self) and reassign srcObject so the local <video> actually unhides after the first start (it stayed display:none before, so the camera owner could not see themselves while peers could).
- Accepting a 1:1 DM call now leaves any active enclave voice channel first, so a single user cannot end up in two simultaneous calls fighting over the mic/camera.
- Broadcast VoiceJoined/VoiceLeft to room subscribers (not just current voice members) and have the voice page subscribe to its room over WS. Maintain a live participants map on the client, seeded from the server-rendered preview and updated on every roster/joined/left event, then re-render the preview HTML from it (including before un-hiding it on leave). Fixes the leaver seeing "no one here" after leaving a busy call and the joiner seeing an empty preview on a busy call.
nrupard
added 1 commit 2026-05-15 19:59:01 +02:00
All checks were successful
Check / clippy + fmt + tests (pull_request) Successful in 2m52s
Details
Merge pull request 'fix(voice): self-video, DM-call takeover, and live participants preview' (#118) from fix/voice-call-bugs into main
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/voice-call-bugs"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?