socket-function 1.2.13 → 1.2.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/CallFactory.ts +1 -1
package/package.json
CHANGED
package/src/CallFactory.ts
CHANGED
|
@@ -488,7 +488,7 @@ export async function createCallFactory(
|
|
|
488
488
|
let alternates = await SocketFunction.GET_ALTERNATE_NODE_IDS(nodeId);
|
|
489
489
|
if (alternates) {
|
|
490
490
|
for (let alternateNodeId of alternates) {
|
|
491
|
-
let newWebSocket = createWebsocket(alternateNodeId, proposeProtocols(
|
|
491
|
+
let newWebSocket = createWebsocket(alternateNodeId, proposeProtocols(nodeId, { lz4: true }));
|
|
492
492
|
await initializeWebsocket(newWebSocket, true);
|
|
493
493
|
|
|
494
494
|
if (callFactory.isConnected) {
|