Merge branch 'RC1-1.0' of https://github.com/havfo/multiparty-meeting into RC1-1.0

This commit is contained in:
Stefan Otto
2018-11-22 12:16:15 +01:00
2 changed files with 15 additions and 12 deletions
+3
View File
@@ -154,6 +154,8 @@ function handleTransport(transport, baseEvent, stream)
}); });
const statsInterval = setInterval(() => const statsInterval = setInterval(() =>
{
if (typeof transport.getStats === 'function')
{ {
transport.getStats() transport.getStats()
.then((stats) => .then((stats) =>
@@ -166,6 +168,7 @@ function handleTransport(transport, baseEvent, stream)
}), }),
stream); stream);
}); });
}
}, STATS_INTERVAL); }, STATS_INTERVAL);
transport.on('close', (originator) => transport.on('close', (originator) =>
+1 -1
View File
@@ -12,7 +12,7 @@
"compression": "^1.7.3", "compression": "^1.7.3",
"debug": "^4.1.0", "debug": "^4.1.0",
"express": "^4.16.3", "express": "^4.16.3",
"mediasoup": "^2.3.3", "mediasoup": "^2.4.3",
"passport-dataporten": "^1.3.0", "passport-dataporten": "^1.3.0",
"socket.io": "^2.1.1" "socket.io": "^2.1.1"
}, },