From 512457351b129b026dc3a29c4d3a679f4e444e17 Mon Sep 17 00:00:00 2001 From: Miroslav Pejic Date: Wed, 16 Oct 2024 16:08:33 +0200 Subject: [PATCH] [mirotalksfu] - remove timeout --- app/src/Server.js | 7 ------- public/js/RoomClient.js | 2 +- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/app/src/Server.js b/app/src/Server.js index 66438834..850b8565 100644 --- a/app/src/Server.js +++ b/app/src/Server.js @@ -2140,7 +2140,6 @@ function startServer() { 'Content-Type': 'application/json', 'X-Api-Key': config.videoAI.apiKey, }, - timeout: 5000, // Timeout set to 5 seconds (5000 milliseconds) }); const data = { response: response.data.data }; @@ -2163,7 +2162,6 @@ function startServer() { 'Content-Type': 'application/json', 'X-Api-Key': config.videoAI.apiKey, }, - timeout: 5000, // Timeout set to 5 seconds (5000 milliseconds) }); const data = { response: response.data.data }; @@ -2196,7 +2194,6 @@ function startServer() { 'Content-Type': 'application/json', 'X-Api-Key': config.videoAI.apiKey, }, - timeout: 5000, // Timeout set to 5 seconds (5000 milliseconds) }, ); @@ -2227,7 +2224,6 @@ function startServer() { 'Content-Type': 'application/json', 'X-Api-Key': config.videoAI.apiKey, }, - timeout: 5000, // Timeout set to 5 seconds (5000 milliseconds) }, ); @@ -2256,7 +2252,6 @@ function startServer() { 'Content-Type': 'application/json', 'X-Api-Key': config.videoAI.apiKey, }, - timeout: 5000, // Timeout set to 5 seconds (5000 milliseconds) }, ); @@ -2287,7 +2282,6 @@ function startServer() { 'Content-Type': 'application/json', 'X-Api-Key': config.videoAI.apiKey, }, - timeout: 5000, // Timeout set to 5 seconds (5000 milliseconds) }, ); @@ -2343,7 +2337,6 @@ function startServer() { 'Content-Type': 'application/json', 'X-Api-Key': config.videoAI.apiKey, }, - timeout: 5000, // Timeout set to 5 seconds (5000 milliseconds) }, ); diff --git a/public/js/RoomClient.js b/public/js/RoomClient.js index a799bcbb..4467d2d3 100644 --- a/public/js/RoomClient.js +++ b/public/js/RoomClient.js @@ -7885,7 +7885,7 @@ class RoomClient { 'default', ]; - //console.log('AVATARS LISTS', completion.response.avatars); + console.log('AVATARS LISTS', completion.response.avatars); completion.response.avatars.forEach((avatar) => { avatar.avatar_states.forEach((avatarUi) => { if (