mirror of
https://github.com/edumeet/edumeet.git
synced 2026-07-30 06:20:39 +00:00
8 lines
226 B
JavaScript
8 lines
226 B
JavaScript
export function getProtooUrl(peerName, roomId)
|
|
{
|
|
const hostname = window.location.hostname;
|
|
const port = window.location.port;
|
|
const url = `wss://${hostname}:${port}/?peerName=${peerName}&roomId=${roomId}`;
|
|
|
|
return url;
|
|
}
|