Merge branch 'feat/example-config' into RC1-1.0
commit
d7a2832828
|
|
@ -3,13 +3,14 @@ Description=multiparty-meeting is a audio / video meeting service running in the
|
||||||
After=network.target
|
After=network.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/usr/local/src/multiparty-meeting/server.js
|
ExecStart=/usr/local/src/multiparty-meeting/server/server.js
|
||||||
Restart=always
|
Restart=always
|
||||||
User=nobody
|
User=nobody
|
||||||
Group=nogroup
|
Group=nogroup
|
||||||
Environment=PATH=/usr/bin:/usr/local/bin
|
Environment=PATH=/usr/bin:/usr/local/bin
|
||||||
Environment=NODE_ENV=production
|
Environment=NODE_ENV=production
|
||||||
WorkingDirectory=/usr/local/src/multiparty-meeting
|
WorkingDirectory=/usr/local/src/multiparty-meeting/server
|
||||||
|
AmbientCapabilities=CAP_NET_BIND_SERVICE
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,20 @@ module.exports =
|
||||||
key : `${__dirname}/certs/mediasoup-demo.localhost.key.pem`
|
key : `${__dirname}/certs/mediasoup-demo.localhost.key.pem`
|
||||||
},
|
},
|
||||||
// Listening port for https server.
|
// 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 :
|
||||||
{
|
{
|
||||||
// mediasoup Server settings.
|
// mediasoup Server settings.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue