Started work on dynamic authentication for TURN servers

This commit is contained in:
rainbow napkin 2026-10-08 18:55:45 -04:00
parent b5bec9da50
commit a11fec6240
3 changed files with 74 additions and 11 deletions

View file

@ -66,11 +66,21 @@
"pass": "CHANGE_ME"
},
//Privdes STUN/TURN servers for WebRTC functionality
"iceServers":[
{
"urls":["stun:stun.moonlight-stream.org:3478"]
}
],
"iceServers":{
//Time to live for TURN credentials (in hours)
"ttl":12,
//array of urls for each stun server
"stun":[
["stun:telstar.ourfore.st:3478"]
],
//Array of objects containing urls and shared secret of a turn server
"turn":[
{
"urls": ["turns:telstar.ourfore.st:5349"],
"secret": "SHAREDSECRET"
}
]
},
//Provides customizable links for navbar
"links":{
"About": "/about",