[mirotalksfu] - update mediasoup
هذا الالتزام موجود في:
@@ -28,6 +28,7 @@ const options = {
|
|||||||
const httpsServer = https.createServer(options, app);
|
const httpsServer = https.createServer(options, app);
|
||||||
const io = require('socket.io')(httpsServer);
|
const io = require('socket.io')(httpsServer);
|
||||||
const host = 'https://' + 'localhost' + ':' + config.listenPort; // config.listenIp
|
const host = 'https://' + 'localhost' + ':' + config.listenPort; // config.listenIp
|
||||||
|
const announcedIP = config.mediasoup.webRtcTransport.listenIps[0].announcedIp;
|
||||||
|
|
||||||
const apiBasePath = '/api/v1'; // api endpoint path
|
const apiBasePath = '/api/v1'; // api endpoint path
|
||||||
const api_docs = host + apiBasePath + '/docs'; // api docs
|
const api_docs = host + apiBasePath + '/docs'; // api docs
|
||||||
@@ -150,6 +151,7 @@ async function ngrokStart() {
|
|||||||
let pu1 = data.tunnels[1].public_url;
|
let pu1 = data.tunnels[1].public_url;
|
||||||
let tunnel = pu0.startsWith('https') ? pu0 : pu1;
|
let tunnel = pu0.startsWith('https') ? pu0 : pu1;
|
||||||
log.debug('Listening on', {
|
log.debug('Listening on', {
|
||||||
|
announced_ip: announcedIP,
|
||||||
server: host,
|
server: host,
|
||||||
tunnel: tunnel,
|
tunnel: tunnel,
|
||||||
api_docs: api_docs,
|
api_docs: api_docs,
|
||||||
@@ -185,6 +187,7 @@ httpsServer.listen(config.listenPort, () => {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
log.debug('Listening on', {
|
log.debug('Listening on', {
|
||||||
|
announced_ip: announcedIP,
|
||||||
server: host,
|
server: host,
|
||||||
api_docs: api_docs,
|
api_docs: api_docs,
|
||||||
mediasoup_version: mediasoup.version,
|
mediasoup_version: mediasoup.version,
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
"cors": "2.8.5",
|
"cors": "2.8.5",
|
||||||
"express": "4.17.1",
|
"express": "4.17.1",
|
||||||
"httpolyglot": "0.1.2",
|
"httpolyglot": "0.1.2",
|
||||||
"mediasoup": "3.9.1",
|
"mediasoup": "3.9.2",
|
||||||
"mediasoup-client": "3.6.43",
|
"mediasoup-client": "3.6.43",
|
||||||
"ngrok": "4.2.2",
|
"ngrok": "4.2.2",
|
||||||
"socket.io": "4.3.2",
|
"socket.io": "4.3.2",
|
||||||
|
|||||||
المرجع في مشكلة جديدة
حظر مستخدم