fix: disable frigg&fenrir turn servers for now

This commit is contained in:
Audric Ackermann 2023-12-07 16:28:29 +11:00
parent 173d01c4e8
commit 9c4eee8a15
1 changed files with 20 additions and 19 deletions

View File

@ -5,34 +5,34 @@ import { v4 as uuidv4 } from 'uuid';
import { MessageUtils, ToastUtils, UserUtils } from '..'; import { MessageUtils, ToastUtils, UserUtils } from '..';
import { SignalService } from '../../../protobuf'; import { SignalService } from '../../../protobuf';
import { openConversationWithMessages } from '../../../state/ducks/conversations';
import { import {
CallStatusEnum,
answerCall, answerCall,
callConnected, callConnected,
callReconnecting, callReconnecting,
CallStatusEnum,
endCall, endCall,
incomingCall, incomingCall,
setFullScreenCall, setFullScreenCall,
startingCallWith, startingCallWith,
} from '../../../state/ducks/call'; } from '../../../state/ducks/call';
import { openConversationWithMessages } from '../../../state/ducks/conversations';
import { getConversationController } from '../../conversations'; import { getConversationController } from '../../conversations';
import { CallMessage } from '../../messages/outgoing/controlMessage/CallMessage'; import { CallMessage } from '../../messages/outgoing/controlMessage/CallMessage';
import { ed25519Str } from '../../onions/onionPath'; import { ed25519Str } from '../../onions/onionPath';
import { PubKey } from '../../types'; import { PubKey } from '../../types';
import { getIsRinging } from '../RingingManager';
import { getBlackSilenceMediaStream } from './Silence';
import { getMessageQueue } from '../..'; import { getMessageQueue } from '../..';
import { MessageSender } from '../../sending';
import { DURATION } from '../../constants';
import { Data } from '../../../data/data';
import { getCallMediaPermissionsSettings } from '../../../components/settings/SessionSettings'; import { getCallMediaPermissionsSettings } from '../../../components/settings/SessionSettings';
import { PnServer } from '../../apis/push_notification_api'; import { Data } from '../../../data/data';
import { approveConvoAndSendResponse } from '../../../interactions/conversationInteractions'; 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 { GetNetworkTime } from '../../apis/snode_api/getNetworkTime';
import { SnodeNamespaces } from '../../apis/snode_api/namespaces'; 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 }; export type InputItem = { deviceId: string; label: string };
@ -137,16 +137,17 @@ const iceServersFullArray = [
username: 'session202111', username: 'session202111',
credential: '053c268164bc7bd7', credential: '053c268164bc7bd7',
}, },
{ // excluding those two (fenrir & frigg) as they are TCP only for now
urls: 'turn:fenrir.getsession.org', // {
username: 'session202111', // urls: 'turn:fenrir.getsession.org',
credential: '053c268164bc7bd7', // username: 'session202111',
}, // credential: '053c268164bc7bd7',
{ // },
urls: 'turn:frigg.getsession.org', // {
username: 'session202111', // urls: 'turn:frigg.getsession.org',
credential: '053c268164bc7bd7', // username: 'session202111',
}, // credential: '053c268164bc7bd7',
// },
{ {
urls: 'turn:angus.getsession.org', urls: 'turn:angus.getsession.org',
username: 'session202111', username: 'session202111',