From d42e428ec38bd4b820e275bc2c6489e9b57d6d65 Mon Sep 17 00:00:00 2001 From: Jim Gustafson Date: Fri, 2 Aug 2024 15:46:41 -0700 Subject: [PATCH] Update to RingRTC v2.46.0 Co-authored-by: ayumi-signal --- ACKNOWLEDGMENTS.md | 2 +- package-lock.json | 8 ++++---- package.json | 2 +- ts/services/calling.ts | 5 +++++ 4 files changed, 11 insertions(+), 6 deletions(-) diff --git a/ACKNOWLEDGMENTS.md b/ACKNOWLEDGMENTS.md index e85cbd172..5cbe9fc09 100644 --- a/ACKNOWLEDGMENTS.md +++ b/ACKNOWLEDGMENTS.md @@ -11823,7 +11823,7 @@ For more information on this, and how to apply and follow the GNU AGPL, see ``` -## libsignal-core 0.1.0, mrp 2.45.0, protobuf 2.45.0, ringrtc 2.45.0, regex-aot 0.1.0, partial-default-derive 0.1.0 +## libsignal-core 0.1.0, mrp 2.46.0, protobuf 2.46.0, ringrtc 2.46.0, regex-aot 0.1.0, partial-default-derive 0.1.0 ``` GNU AFFERO GENERAL PUBLIC LICENSE diff --git a/package-lock.json b/package-lock.json index d982e6ff8..64ebbef93 100644 --- a/package-lock.json +++ b/package-lock.json @@ -23,7 +23,7 @@ "@react-spring/web": "9.5.5", "@signalapp/better-sqlite3": "8.7.1", "@signalapp/libsignal-client": "0.52.3", - "@signalapp/ringrtc": "2.45.0", + "@signalapp/ringrtc": "2.46.0", "@signalapp/windows-dummy-keystroke": "1.0.0", "@types/fabric": "4.5.3", "backbone": "1.4.0", @@ -7330,9 +7330,9 @@ } }, "node_modules/@signalapp/ringrtc": { - "version": "2.45.0", - "resolved": "https://registry.npmjs.org/@signalapp/ringrtc/-/ringrtc-2.45.0.tgz", - "integrity": "sha512-0hCCJV3M4xjo0xQkjxm5DhpsWFy8IWNitEL+DuQC8cJkdKzG3vnOsMDK+lH6AIV9pcWtUTtO2YzQRJ5moK8xLw==", + "version": "2.46.0", + "resolved": "https://registry.npmjs.org/@signalapp/ringrtc/-/ringrtc-2.46.0.tgz", + "integrity": "sha512-obMxaYg9tstkrGOdvPM6qstj0xWt16apWRMcXPTzniPot+CDqdhKAPbL1ANHuUgpGlLV+FPXnC+P09XFR06LxQ==", "hasInstallScript": true, "dependencies": { "https-proxy-agent": "7.0.1", diff --git a/package.json b/package.json index 6a0171f0e..1247a4011 100644 --- a/package.json +++ b/package.json @@ -105,7 +105,7 @@ "@react-spring/web": "9.5.5", "@signalapp/better-sqlite3": "8.7.1", "@signalapp/libsignal-client": "0.52.3", - "@signalapp/ringrtc": "2.45.0", + "@signalapp/ringrtc": "2.46.0", "@signalapp/windows-dummy-keystroke": "1.0.0", "@types/fabric": "4.5.3", "backbone": "1.4.0", diff --git a/ts/services/calling.ts b/ts/services/calling.ts index 1ff95d940..51aa86620 100644 --- a/ts/services/calling.ts +++ b/ts/services/calling.ts @@ -2968,6 +2968,11 @@ export class CallingClass { }); }; + // eslint-disable-next-line no-param-reassign + call.handleRemoteAudioEnabled = () => { + // TODO: Implement handling for the remote audio state using call.remoteAudioEnabled + }; + // eslint-disable-next-line no-param-reassign call.handleRemoteVideoEnabled = () => { reduxInterface.remoteVideoChange({