Update .env

This commit is contained in:
Sergiu Toma 2022-08-02 08:13:19 +00:00
commit 809e343d67
4 changed files with 8 additions and 2 deletions

4
.env
View File

@ -1,3 +1,7 @@
PORT=3000 PORT=3000
IP=0.0.0.0 # Listening IPv4 or IPv6. IP=0.0.0.0 # Listening IPv4 or IPv6.
<<<<<<< HEAD
ANNOUNCED_IP=185.8.154.190 # 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).
=======
ANNOUNCED_IP=185.8.154.190 # Announced IPv4 or IPv6 (useful when running mediasoup behind NAT with private IP).
>>>>>>> aa5b8770c643600acb5b7aca91bc03437d610295

View File

@ -20656,6 +20656,7 @@ module.exports = {
mediasoupAddress: 'https://video.safemobile.org/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')
@ -20708,7 +20709,7 @@ if (IS_PRODUCER === true) {
originAssetTypeName = parsedData.origin_asset_type_name; originAssetTypeName = parsedData.origin_asset_type_name;
callId = parsedData.video_call_id; callId = parsedData.video_call_id;
console.log('IS_PRODUCER', IS_PRODUCER); console.log('IS_PRODUCER', IS_PRODUCER, 'callId', callId);
if (parsedData.type === 'notify-request' && IS_PRODUCER) { if (parsedData.type === 'notify-request' && IS_PRODUCER) {
getLocalStream() getLocalStream()

View File

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

View File

@ -49,7 +49,7 @@ if (IS_PRODUCER === true) {
originAssetTypeName = parsedData.origin_asset_type_name; originAssetTypeName = parsedData.origin_asset_type_name;
callId = parsedData.video_call_id; callId = parsedData.video_call_id;
console.log('IS_PRODUCER', IS_PRODUCER); console.log('IS_PRODUCER', IS_PRODUCER, 'callId', callId);
if (parsedData.type === 'notify-request' && IS_PRODUCER) { if (parsedData.type === 'notify-request' && IS_PRODUCER) {
getLocalStream() getLocalStream()