Add P2P STUN/TURN voice call feature with single-port WebSocket relay workaround

This commit is contained in:
tyuXX 2026-10-31 17:04:13 +03:00
parent 7cc9ba7f4d
commit 0d3817d7ea
22 changed files with 4757 additions and 9 deletions

View file

@ -12,5 +12,24 @@
"Motd": "Welcome to GsDChat! Enjoy private and modular messaging.",
"AllowMemberChannelCreation": true,
"AllowDmE2ee": true,
"MaxGroupChatUsers": 10
"MaxGroupChatUsers": 10,
"EnableVoiceCalls": true,
"AllowVoiceRelayFallback": true,
"MaxVoiceCallUsers": 10,
"StunServers": [
"stun:stun.cloudflare.com:3478",
"stun:stun.l.google.com:19302"
],
"TurnServers": [
{
"Urls": [
"turn:openrelay.metered.ca:80",
"turn:openrelay.metered.ca:443",
"turn:openrelay.metered.ca:443?transport=tcp",
"turns:openrelay.metered.ca:443?transport=tcp"
],
"Username": "openrelayproject",
"Credential": "openrelayproject"
}
]
}