From 390af96514b828aafd3769b56a25d56099cef8ce Mon Sep 17 00:00:00 2001 From: Audric Ackermann Date: Fri, 29 Oct 2021 16:24:22 +1100 Subject: [PATCH] WIP --- preload.js | 2 +- ts/components/session/calling/InConversationCallContainer.tsx | 2 +- ts/session/utils/CallManager.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/preload.js b/preload.js index ee1969b81..f4e468f1a 100644 --- a/preload.js +++ b/preload.js @@ -39,7 +39,7 @@ window.isBehindProxy = () => Boolean(config.proxyUrl); window.lokiFeatureFlags = { useOnionRequests: true, - useCallMessage: false, + useCallMessage: true, }; window.isBeforeVersion = (toCheck, baseVersion) => { diff --git a/ts/components/session/calling/InConversationCallContainer.tsx b/ts/components/session/calling/InConversationCallContainer.tsx index 7231be7e5..df06d6e74 100644 --- a/ts/components/session/calling/InConversationCallContainer.tsx +++ b/ts/components/session/calling/InConversationCallContainer.tsx @@ -343,7 +343,7 @@ export const InConversationCallContainer = () => { showAudioInputMenu(currentConnectedAudioInputs, e); }} /> - + diff --git a/ts/session/utils/CallManager.ts b/ts/session/utils/CallManager.ts index 12504865f..e4a2f30bd 100644 --- a/ts/session/utils/CallManager.ts +++ b/ts/session/utils/CallManager.ts @@ -96,7 +96,7 @@ const configuration: RTCConfiguration = { credential: 'webrtc', }, ], - iceTransportPolicy: 'relay', + // iceTransportPolicy: 'relay', // for now, this cause the connection to break after 30-40 sec if we enable this }; let selectedCameraId: string = INPUT_DISABLED_DEVICE_ID;