Commit 5c0de47
Add automated test for window-audio-capture validation
- Add test/automated-capture-test.html: Self-contained test page that validates
screen capture, app audio capture, and WebRTC pipeline without user interaction
- Add test-log IPC handler in main.js to forward renderer logs to terminal
Test validates:
- Edge window discovery via desktopCapturer
- Video capture using chromeMediaSourceId
- Audio session discovery (msedge.exe process)
- Native audio capture via WASAPI process loopback
- Audio level detection (RMS analysis)
- WebRTC video/audio loopback transmission
Run with: npm start -- --url="file:///.../test/automated-capture-test.html" --node
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 7621881 commit 5c0de47
2 files changed
+563
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
20 | 26 | | |
21 | 27 | | |
22 | 28 | | |
| |||
0 commit comments