Skip to content

Add screen sharing — present on a board beside your avatar - #37

Merged
souramoo merged 1 commit into
masterfrom
claude/spatial-video-chat-merge-823rz2
Jun 11, 2026
Merged

Add screen sharing — present on a board beside your avatar#37
souramoo merged 1 commit into
masterfrom
claude/spatial-video-chat-merge-823rz2

Conversation

@souramoo

Copy link
Copy Markdown
Owner
  • P key or the new 🖥️ self-view button starts getDisplayMedia capture (capped at 720p / 15 fps to be kind to uplinks); pressing again or the browser's own stop-share bar ends it
  • The share travels as a second, one-way PeerJS call tagged with metadata {type:'screen'}: people already in voice range get it immediately, anyone walking into range is dialed by the proximity loop, and boards follow the same hangup-with-hysteresis range rules as voice
  • Viewers see a 16:9 easel board standing to the presenter's right, facing the way they face (audience in front sees presenter + slides); the board adopts the stream's real aspect ratio once known
  • Cleanup on leave/disconnect via the existing hangUp/dispose paths

https://claude.ai/code/session_01PucZtRi8jZbvQS1y11NKdb

- P key or the new 🖥️ self-view button starts getDisplayMedia capture
  (capped at 720p / 15 fps to be kind to uplinks); pressing again or
  the browser's own stop-share bar ends it
- The share travels as a second, one-way PeerJS call tagged with
  metadata {type:'screen'}: people already in voice range get it
  immediately, anyone walking into range is dialed by the proximity
  loop, and boards follow the same hangup-with-hysteresis range rules
  as voice
- Viewers see a 16:9 easel board standing to the presenter's right,
  facing the way they face (audience in front sees presenter + slides);
  the board adopts the stream's real aspect ratio once known
- Cleanup on leave/disconnect via the existing hangUp/dispose paths

https://claude.ai/code/session_01PucZtRi8jZbvQS1y11NKdb
@souramoo
souramoo merged commit 1bb3f05 into master Jun 11, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants