Merge branch 'feat/example-config' into RC1-1.0

This commit is contained in:
Mészáros Mihály
2018-11-13 14:28:04 +01:00
committed by GitHub
2 changed files with 17 additions and 3 deletions
+14 -1
View File
@@ -15,7 +15,20 @@ module.exports =
key : `${__dirname}/certs/mediasoup-demo.localhost.key.pem`
},
// Listening port for https server.
listeningPort : 3443,
listeningPort : 443,
// Any http request is redirected to https.
// Listening port for http server.
listeningRedirectPort : 80,
// STUN/TURN
turnServers : [
{
urls : [
'turn:example.com:443?transport=tcp'
],
username : 'example',
credential : 'example'
}
],
mediasoup :
{
// mediasoup Server settings.