@livedesk/hub 0.1.13 → 0.1.14
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.
- package/package.json +1 -1
- package/src/remote-hub.js +284 -88
- package/src/server.js +173 -28
- package/src/transport/relay-hub-control.js +1004 -0
- package/src/transport/udp-rendezvous.js +2 -0
|
@@ -296,6 +296,7 @@ export function createUdpRendezvousServer({
|
|
|
296
296
|
if (!hub || !client) return;
|
|
297
297
|
send({
|
|
298
298
|
type: 'rendezvous.peer',
|
|
299
|
+
protocol: UDP_P2P_PROTOCOL,
|
|
299
300
|
roomId,
|
|
300
301
|
role: 'client',
|
|
301
302
|
host: client.address,
|
|
@@ -303,6 +304,7 @@ export function createUdpRendezvousServer({
|
|
|
303
304
|
}, hub.address, hub.port);
|
|
304
305
|
send({
|
|
305
306
|
type: 'rendezvous.peer',
|
|
307
|
+
protocol: UDP_P2P_PROTOCOL,
|
|
306
308
|
roomId,
|
|
307
309
|
role: 'hub',
|
|
308
310
|
host: hub.address,
|