mirror of
https://github.com/Moepchi/webspeak3.git
synced 2026-12-02 17:32:50 +08:00
feat: optional TURN relay for screen streams
TURN_URLS on the gateway is handed to the browser in "hello" and added to the STUN defaults for both watching and publishing. With TURN_SECRET (coturn's use-auth-secret) each socket gets its own credential valid for 24 h; static TURN_USERNAME/TURN_CREDENTIAL work too but are public to every visitor. Also moves GATEWAY_FEATURES above the runtime-config comment it had split. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
This commit is contained in:
1 parent
d67053f2dd
commit
23e61c86b3
5 files changed
+30
-14
No files matched your search
+1
-1
@@ -62,7 +62,7 @@ export interface StreamViewerOptions {
|
||||
iceServers?: RTCIceServer[];
|
||||
}
|
||||
|
||||
const DEFAULT_ICE_SERVERS: RTCIceServer[] = [
|
||||
export const DEFAULT_ICE_SERVERS: RTCIceServer[] = [
|
||||
{ urls: "stun:turn.teamspeak.com:3478" },
|
||||
{ urls: "stun:turn2.teamspeak.com:3478" },
|
||||
{ urls: "stun:stun.l.google.com:19302" },
|
||||
|
||||
Reference in new issue
Block a user