Skip to content

feat: check camera, microphone and network before a call - #585

Merged
devopvoid merged 1 commit into
mainfrom
feat/call-check
Nov 10, 2026
Merged

devopvoid merged 1 commit into
mainfrom
feat/call-check

Conversation

@devopvoid

Copy link
Copy Markdown
Owner

Adds WebRtc.checkCall(CallCheck), a self-test for "am I ready for the call?": whether a video track delivers frames that are not all black, whether an audio track delivers audio that is neither silent nor clipped, and whether a connection to a real test peer comes up (with relayOnly, through TURN). The result names the problems with their reasons, plus the measurements behind them.

A microphone is sent to a pair of internal peers that drop every encoded frame, since WebRTC records only while it sends; nothing is played back.

WebRtc.checkCall measures whether a video track delivers frames that are not all black, whether an audio track delivers audio that is neither silent nor clipped, and whether a connection to a real test peer comes up, and names the problems it finds.
@devopvoid
devopvoid merged commit 02d2c92 into main Nov 10, 2026
26 checks passed
@devopvoid
devopvoid deleted the feat/call-check branch November 10, 2026 23:19
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