livedesk 0.1.285 → 0.1.286
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -99,7 +99,7 @@ export function createHubUdpTransport({ env = process.env, logEvent = () => {},
|
|
|
99
99
|
|
|
100
100
|
function onRendezvousPeer(message, rinfo) {
|
|
101
101
|
const session = [...sessions.values()].find(item => item.sessionId === safeText(message.roomId, 160));
|
|
102
|
-
if (!session || !rendezvousHost || rinfo.
|
|
102
|
+
if (!session || !rendezvousHost || Number(rinfo.port) !== rendezvousPort) return;
|
|
103
103
|
const address = safeText(message.host, 128);
|
|
104
104
|
const port = Number(message.port);
|
|
105
105
|
if (!address || !Number.isInteger(port) || port < 1 || port > 65535) return;
|