Promote to production: Video Call tool - #71
Merged
Merged
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Ships the P2P Video Call (screen share + chat) to production. Reuses the file-transfer signaling stack.
🤖 Generated with Claude Code