From 9c4eee8a15b4d56092c89b9cfabf1e0d8bc8d9af Mon Sep 17 00:00:00 2001 From: Audric Ackermann Date: Thu, 7 Dec 2023 16:28:29 +1100 Subject: [PATCH] fix: disable frigg&fenrir turn servers for now --- ts/session/utils/calling/CallManager.ts | 39 +++++++++++++------------ 1 file changed, 20 insertions(+), 19 deletions(-) diff --git a/ts/session/utils/calling/CallManager.ts b/ts/session/utils/calling/CallManager.ts index 171661c85..dde0b8adf 100644 --- a/ts/session/utils/calling/CallManager.ts +++ b/ts/session/utils/calling/CallManager.ts @@ -5,34 +5,34 @@ import { v4 as uuidv4 } from 'uuid'; import { MessageUtils, ToastUtils, UserUtils } from '..'; import { SignalService } from '../../../protobuf'; -import { openConversationWithMessages } from '../../../state/ducks/conversations'; import { + CallStatusEnum, answerCall, callConnected, callReconnecting, - CallStatusEnum, endCall, incomingCall, setFullScreenCall, startingCallWith, } from '../../../state/ducks/call'; +import { openConversationWithMessages } from '../../../state/ducks/conversations'; import { getConversationController } from '../../conversations'; import { CallMessage } from '../../messages/outgoing/controlMessage/CallMessage'; import { ed25519Str } from '../../onions/onionPath'; import { PubKey } from '../../types'; -import { getIsRinging } from '../RingingManager'; -import { getBlackSilenceMediaStream } from './Silence'; import { getMessageQueue } from '../..'; -import { MessageSender } from '../../sending'; -import { DURATION } from '../../constants'; -import { Data } from '../../../data/data'; import { getCallMediaPermissionsSettings } from '../../../components/settings/SessionSettings'; -import { PnServer } from '../../apis/push_notification_api'; +import { Data } from '../../../data/data'; import { approveConvoAndSendResponse } from '../../../interactions/conversationInteractions'; +import { READ_MESSAGE_STATE } from '../../../models/conversationAttributes'; +import { PnServer } from '../../apis/push_notification_api'; import { GetNetworkTime } from '../../apis/snode_api/getNetworkTime'; import { SnodeNamespaces } from '../../apis/snode_api/namespaces'; -import { READ_MESSAGE_STATE } from '../../../models/conversationAttributes'; +import { DURATION } from '../../constants'; +import { MessageSender } from '../../sending'; +import { getIsRinging } from '../RingingManager'; +import { getBlackSilenceMediaStream } from './Silence'; export type InputItem = { deviceId: string; label: string }; @@ -137,16 +137,17 @@ const iceServersFullArray = [ username: 'session202111', credential: '053c268164bc7bd7', }, - { - urls: 'turn:fenrir.getsession.org', - username: 'session202111', - credential: '053c268164bc7bd7', - }, - { - urls: 'turn:frigg.getsession.org', - username: 'session202111', - credential: '053c268164bc7bd7', - }, + // excluding those two (fenrir & frigg) as they are TCP only for now + // { + // urls: 'turn:fenrir.getsession.org', + // username: 'session202111', + // credential: '053c268164bc7bd7', + // }, + // { + // urls: 'turn:frigg.getsession.org', + // username: 'session202111', + // credential: '053c268164bc7bd7', + // }, { urls: 'turn:angus.getsession.org', username: 'session202111',