Финальный обмен ключами шифрования, все готово для установки WebRTC соединения

This commit is contained in:
RoyceDa
2026-03-11 17:22:29 +02:00
parent e06d58facf
commit e79282755b
3 changed files with 36 additions and 5 deletions

View File

@@ -1,10 +1,10 @@
export const SERVERS = [
//'wss://cdn.rosetta-im.com',
//'ws://10.211.55.2:3000',
//'ws://127.0.0.1:3000',
'wss://wss.rosetta.im'
'ws://127.0.0.1:3000',
//'wss://wss.rosetta.im'
];
export function selectServer(): string {
const idx = Math.floor(Math.random() * SERVERS.length);
return SERVERS[idx];