remove invalid webrtc block from prosody.cfg.lua.example

The webrtc table is not a recognized Prosody directive and was silently
ignored. TURN/STUN is already correctly configured via external_services.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
bvn13 2026-02-28 09:31:33 +03:00
parent c29add0748
commit 1b9aa86d91

View File

@ -45,19 +45,6 @@ http_upload_external_expire_after = 3600
-- Max file size in bytes (10 MB)
http_upload_external_file_size_limit = 10485760
-- звонки
webrtc = {
stun_servers = { "stun:stun.l.google.com:19302" },
turn_servers = {
{
host = "turn.jbr.bvn13.me",
port = 3478,
username = os.getenv("TURN_SERVER_USERNAME"),
password = os.getenv("TURN_SERVER_PASSWORD"),
}
}
}
----------------------------------------------------------------------
-- TURN/STUN for voice/video calls (via mod_external_services)
-- Credentials are generated on-the-fly using TURN REST API (RFC 8489 §9.2)