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