mirror of
https://github.com/Moepchi/webspeak3.git
synced 2026-12-01 00:42:49 +08:00
Not a nicety. getDisplayMedia, getUserMedia and crypto.randomUUID are secure-context-only, so a LAN instance reached over plain http could neither share a screen nor use the microphone. Chrome additionally hides host ICE candidates behind mDNS names until a media permission is granted, which keeps a peer-to-peer stream from connecting at all - so the publishing direction was effectively unreachable from anywhere but localhost. The frontend already derives ws:// or wss:// from the page's own scheme, so nothing else needs configuring. Verified from the LAN address with a self-signed cert: isSecureContext true, both media APIs present. gateway/certs/ is gitignored - a private key never belongs in the repo. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
16 lines
216 B
Plaintext
16 lines
216 B
Plaintext
node_modules/
|
|
target/
|
|
dist/
|
|
dist-ssr/
|
|
*.log
|
|
.env
|
|
.env.local
|
|
.DS_Store
|
|
docker-compose.override.yml
|
|
.claude/
|
|
CLAUDE.md
|
|
.serena/
|
|
|
|
# TLS material for local HTTPS - a private key never belongs in the repo.
|
|
gateway/certs/
|