Added logs for callId

This commit is contained in:
Sergiu Toma 2022-08-02 07:09:05 +00:00
parent 80b0e1904a
commit 28d9321129
7 changed files with 60 additions and 55 deletions

4
.env
View File

@ -1,3 +1,3 @@
PORT=3000
IP=0.0.0.0# Listening IPv4 or IPv6.
ANNOUNCED_IP=127.0.0.1 # Announced IPv4 or IPv6 (useful when running mediasoup behind NAT with private IP).
IP=0.0.0.0 # Listening IPv4 or IPv6.
ANNOUNCED_IP=185.8.154.190 # Announced IPv4 or IPv6 (useful when running mediasoup behind NAT with private IP).

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/node_modules

4
package-lock.json generated
View File

@ -14,8 +14,10 @@
"httpolyglot": "^0.1.2",
"mediasoup": "^3.10.4",
"mediasoup-client": "^3.6.54",
"nodemon": "^2.0.19",
"socket.io": "^2.0.3",
"socket.io-client": "^2.0.3"
"socket.io-client": "^2.0.3",
"watchify": "^4.0.0"
},
"devDependencies": {
"nodemon": "^2.0.19",

View File

@ -20653,8 +20653,9 @@ module.exports = yeast;
},{}],95:[function(require,module,exports){
module.exports = {
hubAddress: 'https://hub.dev.linx.safemobile.com/',
mediasoupAddress: 'https://localhost:3000/mediasoup',
}
mediasoupAddress: 'https://video.safemobile.org/mediasoup',
}
},{}],96:[function(require,module,exports){
const io = require('socket.io-client')
const mediasoupClient = require('mediasoup-client')

View File

@ -1,4 +1,4 @@
module.exports = {
hubAddress: 'https://hub.dev.linx.safemobile.com/',
mediasoupAddress: 'https://localhost:3000/mediasoup',
}
mediasoupAddress: 'https://video.safemobile.org/mediasoup',
}

View File

@ -1,24 +1,25 @@
-----BEGIN CERTIFICATE-----
MIIEDzCCAvegAwIBAgIUaoTnmT3ltr9S5ysxQIXoLOHM6IYwDQYJKoZIhvcNAQEL
BQAwgZYxCzAJBgNVBAYTAlJPMQ0wCwYDVQQIDARBTEJBMRMwEQYDVQQHDApBTEJB
IElVTElBMRMwEQYDVQQKDApTQUZFTU9CSUxFMRIwEAYDVQQLDAlBSVJXSVp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