Use REST eduTurn

This commit is contained in:
Håvar Aambø Fosstveit
2020-03-23 21:41:34 +01:00
parent cc4053ebea
commit 71b90dfb6c
5 changed files with 88 additions and 41 deletions
+13
View File
@@ -32,6 +32,19 @@ module.exports =
}
},
*/
// URI and key for requesting geoip-based TURN server closest to the client
turnAPIKey : 'examplekey',
turnAPIURI : 'https://example.com/api/turn',
// Backup turnservers if REST fails or is not configured
backupTurnServers : [
{
urls : [
'turn:turn.example.com:443?transport=tcp'
],
username : 'example',
credential : 'example'
}
],
redisOptions : {},
// session cookie secret
cookieSecret : 'T0P-S3cR3t_cook!e',