diff --git a/package.json b/package.json index 510b27a7c699..3db78183bee1 100644 --- a/package.json +++ b/package.json @@ -90,7 +90,7 @@ "@react-spring/web": "9.5.5", "@signalapp/better-sqlite3": "8.4.3", "@signalapp/libsignal-client": "0.22.0", - "@signalapp/ringrtc": "2.27.0", + "@signalapp/ringrtc": "2.28.0", "@types/fabric": "4.5.3", "backbone": "1.4.0", "blob-util": "2.0.2", diff --git a/ts/services/calling.ts b/ts/services/calling.ts index 04f925e4466f..276d569550a8 100644 --- a/ts/services/calling.ts +++ b/ts/services/calling.ts @@ -23,6 +23,7 @@ import { CallState, CanvasVideoRenderer, ConnectionState, + DataMode, JoinState, HttpMethod, GroupCall, @@ -36,7 +37,6 @@ import { RingCancelReason, RingRTC, RingUpdate, - BandwidthMode, } from '@signalapp/ringrtc'; import { uniqBy, noop } from 'lodash'; import Long from 'long'; @@ -2116,7 +2116,7 @@ export class CallingClass { urls: iceServer.urls.slice(), }, hideIp: shouldRelayCalls || isContactUnknown, - bandwidthMode: BandwidthMode.Normal, + dataMode: DataMode.Normal, // TODO: DESKTOP-3101 // audioLevelsIntervalMillis: AUDIO_LEVEL_INTERVAL_MS, }; diff --git a/yarn.lock b/yarn.lock index 047ec2a7836a..dec1106327fe 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2297,10 +2297,10 @@ ws "^8.4.2" zod "^3.20.2" -"@signalapp/ringrtc@2.27.0": - version "2.27.0" - resolved "https://registry.yarnpkg.com/@signalapp/ringrtc/-/ringrtc-2.27.0.tgz#f9fd646b3e9ea5e4b9ecee76c73a8cceddda2965" - integrity sha512-lYTH/DrZWiWPzWI4ChyY/k8abbM3dYPcNRXHh9v0tDFG0rCWn/9P6T2PRmEWo2flYMIqFgxD2ULWIb2DSwi7Jw== +"@signalapp/ringrtc@2.28.0": + version "2.28.0" + resolved "https://registry.yarnpkg.com/@signalapp/ringrtc/-/ringrtc-2.28.0.tgz#154b5d444c12426144dd55d505a027c10d182750" + integrity sha512-YDA/0uFnyJbvioYODEyLElGObaBJ0PAjgxQApLeFkPUm7zo1nvm0lYnJVOINHalJ/97V/kukMueX4e+7EhRwtQ== dependencies: tar "^6.1.0"