Screenshare reminders: shared window closed (black share) and long share with nobody watching #39

Open
opened 2026-09-17 16:26:16 -04:00 by jared · 0 comments
Owner

Two cases, both from signals LiveKit already gives:

  1. Shared window closed → the track ends (ended on the MediaStreamTrack) but the tile can linger black. Stop the share cleanly and emit a host-visible notice (io.lotus.call_state flag or a dedicated action) so cinny can toast "Screenshare ended — the window was closed".
  2. Still sharing? after 30 min of sharing with no other participants in the call (everyone left) → one notice, once. Never while others are present.
    Host side (cinny) renders the toast; fork side detects.
Two cases, both from signals LiveKit already gives: 1. **Shared window closed** → the track ends (`ended` on the MediaStreamTrack) but the tile can linger black. Stop the share cleanly and emit a host-visible notice (`io.lotus.call_state` flag or a dedicated action) so cinny can toast "Screenshare ended — the window was closed". 2. **Still sharing?** after 30 min of sharing with **no other participants in the call** (everyone left) → one notice, once. Never while others are present. Host side (cinny) renders the toast; fork side detects.
jared added this to the Features 2026-Q4 milestone 2026-09-17 16:26:16 -04:00
jared added the enhancementpriority: lowuxarea: livekit labels 2026-09-17 16:26:16 -04:00
jared self-assigned this 2026-09-17 16:26:16 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: LotusGuild/element-call#39