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 PORT=3000
IP=0.0.0.0# Listening IPv4 or IPv6. 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). 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", "httpolyglot": "^0.1.2",
"mediasoup": "^3.10.4", "mediasoup": "^3.10.4",
"mediasoup-client": "^3.6.54", "mediasoup-client": "^3.6.54",
"nodemon": "^2.0.19",
"socket.io": "^2.0.3", "socket.io": "^2.0.3",
"socket.io-client": "^2.0.3" "socket.io-client": "^2.0.3",
"watchify": "^4.0.0"
}, },
"devDependencies": { "devDependencies": {
"nodemon": "^2.0.19", "nodemon": "^2.0.19",

View File

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

View File

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

View File

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ELBQADggEBAAOzDIR4K2BKKoD/retoVNyFtHSKXs2FU1UIR2QP pwmB7zAPBgNVHRMBAf8EBTADAQH/MA0GCSqGSIb3DQEBCwUAA4IBAQBNySms9mXG
NJvS9GbkQW/jMYxehHJ9jxB7AVoq+ice8kyhipFYYOPRm9WEouF+BvFyQD1bhrD1 PVOmFAm9YjMjRY+cUpa0Gm6saxp9VOyrAg2KzdwG6LNGgauNsIra1ytM40NASspN
b5kJMKOTcTuqqlRWgECrIZT/oumgujkAT6xulPu+jSbV3XyEp4rJq4E6lks1y8RG r+L49gUCmASUGOqeZCpJjkKAsGspQ4WQKKI6YW8h5dsSuud2qyQtm+w1RKDq+wih
4hdllhfLtmE06hqBgtSVxHg4y0PgKkn0rU+2V7ZaPDc5IViGKbFo/lZI1iW3nD9Y A+B82xWXcFFd52gp6nerib4Pf9ATooOmBMCHFZwC+74sKCv7fXDlzLGdCII8lmI4
UmATM2co6zImrpt/bfBByfwpdZevpEKzSilbQ06JcGEtUm90U1Qzi0YLSv40aUYD uq5eFrSS1NeT3iQCwGb9SHfyFkCliaEdpskqmWhonckN0tJVV118SvknV/h9oIsw
jSYmcpuMoI4vLSIFpPYRAIRbvEwmdwiwCd0CcPWAY98CzhQ= uEMIib6YOBlrU+FInnpqpc8VuR4vv0Yro9XrvmurzLuN8k/lVVkr6NMzyNY9mbkF
9p/Sxd5yIeam
-----END CERTIFICATE----- -----END CERTIFICATE-----

View File

@ -1,28 +1,28 @@
-----BEGIN PRIVATE KEY----- -----BEGIN PRIVATE KEY-----
MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQC/igic1Y14qYpl MIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQCSEk80aBAbmWtP
XMGDsHpsEkEbBf+KpFpYmSQXYLOn6AnfJRRtiVKjKxz67oTiQN1Hv+V8Nx14vLN+ BLcTjFLbvVmxuzDgzrjH7h2Hg/ly8lE/o2nZ1T2ESSuaQFsx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