diff --git a/packages/server/package.json b/packages/server/package.json index b363d49..196e6f2 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -45,7 +45,7 @@ "dependencies": { "@geckos.io/common": "^3.0.0", "@yandeu/events": "0.0.6", - "node-datachannel": "0.8.0" + "node-datachannel": "0.22.0" }, "funding": { "url": "https://github.com/sponsors/yandeu" diff --git a/packages/server/src/wrtc/connectionsManager.ts b/packages/server/src/wrtc/connectionsManager.ts index e904fad..bf21c98 100644 --- a/packages/server/src/wrtc/connectionsManager.ts +++ b/packages/server/src/wrtc/connectionsManager.ts @@ -69,9 +69,7 @@ export default class ConnectionsManagerServer { const dc_config: DataChannelInitConfig = { maxPacketLifeTime, maxRetransmits, - reliability: { - unordered: !ordered - } + unordered: !ordered } // WebRTCConnection configuration