Spotlight: switch between cameras as well as screenshares during a share #67
Closed
opened 2026-11-07 21:47:57 -05:00 by jared
·
0 comments
No Branch/Tag Specified
lotus
chore/dev-tool-security
feat/expected-devices
lotus-upstream-v0.28.0
feat/call-summary-details
feat/soundboard-mic-mix
feat/mobile-self-tile
feat/screenshare-audio-state
feat/decorations-origin
docs/lotus-call-error
lotus-stall-retry
docs/lotus-protocol
lotus-soundboard-not-permitted
lotus-mic-sampler-churn
lotus-call-error
fix/audio-output-list
lotus-notify-none
lotus-screenshare-prompt
lotus-call-origin
v0.28.0-lotus.4
v0.28.0-lotus.3
v0.28.0-lotus.2
v0.28.0-lotus.1
v0.25.0-lotus.29
v0.25.0-lotus.28
v0.25.0-lotus.27
v0.25.0-lotus.26
v0.25.0-lotus.25
v0.25.0-lotus.24
v0.25.0-lotus.23
v0.25.0-lotus.22
v0.25.0-lotus.21
v0.25.0-lotus.20
v0.25.0-lotus.19
v0.25.0-lotus.18
v0.25.0-lotus.17
v0.25.0-lotus.16
v0.25.0-lotus.15
v0.25.0-lotus.14
v0.25.0-lotus.13
v0.25.0-lotus.12
v0.25.0-lotus.11
v0.25.0-lotus.10
v0.25.0-lotus.9
v0.25.0-lotus.8
v0.25.0-lotus.7
v0.25.0-lotus.6
v0.25.0-lotus.5
v0.25.0-lotus.4
v0.25.0-lotus.3
v0.25.0-lotus.2
v0.25.0-lotus.1
v0.20.1
Labels
Clear labels
a11y
area: audio-pipeline
area: build-publish
area: deafen
area: decorations
area: denoise
area: livekit
area: mobile-ui
area: soundboard-inject
area: upstream-sync
area: widget-actions
bug
dependencies
docs
enhancement
performance
priority: critical
priority: high
priority: low
priority: medium
research
security
tech-debt
ux
Accessibility
Fork area: audio-pipeline
Fork area: build-publish
Fork area: deafen
Fork area: decorations
Fork area: denoise
Fork area: livekit
Fork area: mobile-ui
Fork area: soundboard-inject
Fork area: upstream-sync
Fork area: widget-actions
Something is not working
Package versions and advisories
Docs wrong or missing
New feature
Audio pipeline cost, re-render storms, leaks
Data loss, security hole, or crash on a main path
Broken feature or serious usability problem
Minor issue or polish
Wrong behaviour in an edge case or notable degradation
Origin checks, capability leaks, media/key handling
Code health, fragile patterns
Usability or visual inconsistency
No labels
Milestone
No items
No Milestone
Projects
Clear projects
No projects
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: LotusGuild/element-call#67
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Request
During a call, when more than one person is screensharing, the spotlight lets you flip between their shares with the back/forward arrows (and the dots under it). People like this a lot. Extend it to cameras: while someone is screensharing, you should be able to flip between the share(s) and people's cameras in the same spotlight, the same way.
Requested by Jared, 2026-11-07. Not started; this issue is only a plan.
How it works today
overrideSpotlight$insrc/lotus/lotusSpotlight.tsreturnsspotlight: screenShares, so the carousel holds only screenshares. The one exception is a host pin (io.lotus.focus_participant, #4/#29), which appends that one camera.src/tile/SpotlightTile.tsxrendersmediaas the carousel:visibleId,onBackClick/forward, and the indicator dots (data-testid="screenshare-indicator", only shown whenmedia.length > 1).Proposed behaviour
videoEnabled$).SpotlightTilealready uses when a visible share disappears.Open questions
lotusHotkeys.tshas (or gets) next/previous spotlight keys, they should cover cameras too.Implementation notes
src/lotus/lotusSpotlight.ts(the share branch ofoverrideSpotlight$), soCallViewModelstays close to upstream for rebases. It already getsuserMedia$andscreenShares$. Filtering cameras needs each item'svideoEnabled$(combine them, aspinnedMedia$does withspeaking$).SpotlightTileshould mostly just work with mixed media, since it already takesMediaViewModel[]. Check the camera tile's sizing and fit inside the spotlight frame, and rename or extend thescreenshare-indicatortest id.SpotlightTileand LiveKit adaptive stream treat off-screen carousel items (aria-hiddenitems) before adding several cameras.lotusSpotlight.test.ts(shares then cameras, camera off or leave, pin not duplicated, no-share path unchanged) andSpotlightTile(indicator count, fall back when the visible camera goes away).Related
#4, #29 (pin during a screenshare), #16/#30 (pin lifecycle), #38/#39 (screenshare tile). The Cinny side (
CallEmbed.ts, [Gitea #43] screenshare and layout state) shouldn't need changes unless we expose this to the host.🤖 Generated with Claude Code
https://claude.ai/code/session_01PPmy3tPq869XDW4njjVaKA