1.1.0-1.5.2 #16

Merged
Royce59 merged 30 commits from dev into main 2026-03-18 17:59:15 +00:00
2 changed files with 3 additions and 4 deletions
Showing only changes of commit f57ec484e3 - Show all commits

View File

@@ -90,17 +90,16 @@ export function CallProvider(props : CallProviderProps) {
for(let i = 0; i < iceServers.length; i++){
let server = iceServers[i];
formattedIceServers.push({
urls: "trun:" + server.urls + "?transport=udp",
urls: "turn:" + server.urls + "?transport=udp",
username: server.username,
credential: server.credential
});
formattedIceServers.push({
urls: "trun:" + server.urls + "?transport=tcp",
urls: "turn:" + server.urls + "?transport=tcp",
username: server.username,
credential: server.credential
});
}
console.info("ICE SERVERS RECEIVED: ", formattedIceServers);
iceServersRef.current = formattedIceServers;
info("Received ICE servers from server, count: " + formattedIceServers.length);
}, []);

View File

@@ -1,7 +1,7 @@
export const SERVERS = [
//'wss://cdn.rosetta-im.com',
//'ws://10.211.55.2:3000',
'ws://127.0.0.1:3000',
'ws://192.168.6.82:3000',
//'wss://wss.rosetta.im'
];