Started work on dynamic authentication for TURN servers
This commit is contained in:
parent
b5bec9da50
commit
a11fec6240
3 changed files with 74 additions and 11 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue