Skip to content

Promote to production: Video Call tool - #71

Merged
slaveofcode merged 3 commits into
mainfrom
develop
Aug 1, 2026
Merged

Promote to production: Video Call tool#71
slaveofcode merged 3 commits into
mainfrom
develop

Conversation

@slaveofcode

Copy link
Copy Markdown
Owner

Ships the P2P Video Call (screen share + chat) to production. Reuses the file-transfer signaling stack.

🤖 Generated with Claude Code

Kresna and others added 3 commits August 1, 2026 12:39
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
New Network tool (/tools/video-call): 1:1 peer-to-peer video call. Reuses the
file-transfer signaling stack (SignalRoom DO, signal.lib/signal-client, custom
ICE, manual serverless mode, ack gate, reconnect + retry cap). Media, audio and
chat travel peer-to-peer; only the ~2KB handshake touches the signaling server.

- Generalized createPeer / createManualConnection with optional localStream +
  onTrack (media), plus a makingOffer guard so adding tracks AND the data channel
  produce a single offer. File-transfer's data-channel path is unchanged.
- useVideoCall: getUserMedia, symmetric media peer, chat over a data channel,
  and controls — mute mic, camera on/off, switch front/rear camera, screen share
  (getDisplayMedia + replaceTrack, restores camera on stop), hang up (sends 'bye').
- Reconnect resilience carried over (disconnected grace -> re-establish; retry
  cap -> 'add a TURN server' hint). Manual mode: copy-paste invite/answer codes.
- chat.lib (encode/decode, tested). roomLink now takes a route (default unchanged).
- VideoCall island: ack gate + Advanced settings, remote+local video, control bar,
  chat panel, shareable link / manual code exchange.

545 tests · lint clean · build green (/tools/video-call built). Media paths are
build + manual smoke (not headless-verifiable), like the camera/OCR tools.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
feat(video-call): P2P video call with screen share + chat
@slaveofcode
slaveofcode merged commit 167801c into main Aug 1, 2026
2 of 3 checks 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.

1 participant