From 95cf065c97eceae5735c8f22b67b682f238bacd7 Mon Sep 17 00:00:00 2001 From: ayumi-signal <143036029+ayumi-signal@users.noreply.github.com> Date: Mon, 18 Nov 2024 11:20:09 -0800 Subject: [PATCH] Update to ringrtc 2.48.7 Co-authored-by: Miriam Zimmerman --- ACKNOWLEDGMENTS.md | 63 ++---------------------------------------- package-lock.json | 9 +++--- package.json | 2 +- ts/services/calling.ts | 4 +++ 4 files changed, 12 insertions(+), 66 deletions(-) diff --git a/ACKNOWLEDGMENTS.md b/ACKNOWLEDGMENTS.md index 8e7fcb2fa336..d2b82d9456ac 100644 --- a/ACKNOWLEDGMENTS.md +++ b/ACKNOWLEDGMENTS.md @@ -12011,7 +12011,7 @@ For more information on this, and how to apply and follow the GNU AGPL, see ``` -## libsignal-core 0.1.0, mrp 2.48.6, protobuf 2.48.6, ringrtc 2.48.6, regex-aot 0.1.0, partial-default-derive 0.1.0 +## libsignal-core 0.1.0, mrp 2.48.7, protobuf 2.48.7, ringrtc 2.48.7, regex-aot 0.1.0, partial-default-derive 0.1.0 ``` GNU AFFERO GENERAL PUBLIC LICENSE @@ -13024,7 +13024,7 @@ DEALINGS IN THE SOFTWARE. ``` -## bitflags 1.3.2, bitflags 2.6.0, log 0.4.22, regex-automata 0.4.7, regex-syntax 0.8.4, regex 1.10.5 +## bitflags 1.3.2, bitflags 2.6.0, log 0.4.22, regex-automata 0.4.8, regex-syntax 0.8.5, regex 1.11.1 ``` Copyright (c) 2014 The Rust Project Developers @@ -16258,65 +16258,6 @@ THE SOFTWARE. ``` -## libevent - -``` -Libevent is available for use under the following license, commonly known -as the 3-clause (or "modified") BSD license: - -============================== -Copyright (c) 2000-2007 Niels Provos -Copyright (c) 2007-2010 Niels Provos and Nick Mathewson - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: -1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. -2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. -3. The name of the author may not be used to endorse or promote products - derived from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR -IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES -OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. -IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT -NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF -THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -============================== - -Portions of Libevent are based on works by others, also made available by -them under the three-clause BSD license above. The copyright notices are -available in the corresponding source files; the license is as above. Here's -a list: - -log.c: - Copyright (c) 2000 Dug Song - Copyright (c) 1993 The Regents of the University of California. - -strlcpy.c: - Copyright (c) 1998 Todd C. Miller - -win32.c: - Copyright (c) 2003 Michael A. Davis - -evport.c: - Copyright (c) 2007 Sun Microsystems - -min_heap.h: - Copyright (c) 2006 Maxim Yegorushkin - -tree.h: - Copyright 2002 Niels Provos - -``` - ## libjpeg_turbo ``` diff --git a/package-lock.json b/package-lock.json index 2c85c7a1fd3f..6df340ffecc0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -23,7 +23,7 @@ "@react-spring/web": "9.5.5", "@signalapp/better-sqlite3": "9.0.8", "@signalapp/libsignal-client": "0.60.2", - "@signalapp/ringrtc": "2.48.6", + "@signalapp/ringrtc": "2.48.7", "@types/fabric": "4.5.3", "backbone": "1.4.0", "blob-util": "2.0.2", @@ -7564,10 +7564,11 @@ } }, "node_modules/@signalapp/ringrtc": { - "version": "2.48.6", - "resolved": "https://registry.npmjs.org/@signalapp/ringrtc/-/ringrtc-2.48.6.tgz", - "integrity": "sha512-iEjg8mBvv/2C/IDD2sV3yLx0ouHzN6YI3tWG75E9V08IUXp1QSRy8JjZwgo9tNbxSV/tk3UI93lE3uGp8aroYg==", + "version": "2.48.7", + "resolved": "https://registry.npmjs.org/@signalapp/ringrtc/-/ringrtc-2.48.7.tgz", + "integrity": "sha512-gfu8vb7Adtlh4zJ9cbLRBbmfvmIJ/SKwdQWZW3P8te8SOgTp6cK9aiuUDYqkJQfb3o30kQFDSA9e4a/rhDNeBQ==", "hasInstallScript": true, + "license": "AGPL-3.0-only", "dependencies": { "https-proxy-agent": "7.0.1", "tar": "^6.2.1" diff --git a/package.json b/package.json index c55ba5567c6c..7ef4367e13a8 100644 --- a/package.json +++ b/package.json @@ -110,7 +110,7 @@ "@react-spring/web": "9.5.5", "@signalapp/better-sqlite3": "9.0.8", "@signalapp/libsignal-client": "0.60.2", - "@signalapp/ringrtc": "2.48.6", + "@signalapp/ringrtc": "2.48.7", "@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 0448247c0cfe..008073009265 100644 --- a/ts/services/calling.ts +++ b/ts/services/calling.ts @@ -7,6 +7,7 @@ import type { CallId, DeviceId, GroupCallObserver, + SpeechEvent, PeekInfo, UserId, VideoFrameSource, @@ -1478,6 +1479,9 @@ export class CallingClass { endedReason, }); }, + onSpeechEvent: (_groupCall: GroupCall, event: SpeechEvent) => { + log.info('GroupCall#onSpeechEvent', event); + }, }; }