@signalapp/ringrtc 2.57.1 → 2.58.0
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/dist/acknowledgments.md
CHANGED
|
@@ -669,7 +669,7 @@ For more information on this, and how to apply and follow the GNU AGPL, see
|
|
|
669
669
|
|
|
670
670
|
```
|
|
671
671
|
|
|
672
|
-
## libsignal-account-keys 0.1.0, libsignal-core 0.1.0, mrp 2.
|
|
672
|
+
## libsignal-account-keys 0.1.0, libsignal-core 0.1.0, mrp 2.58.0, protobuf 2.58.0, ringrtc 2.58.0, regex-aot 0.1.0, partial-default-derive 0.1.0
|
|
673
673
|
|
|
674
674
|
```
|
|
675
675
|
GNU AFFERO GENERAL PUBLIC LICENSE
|
|
@@ -95,6 +95,8 @@ export declare class RingRTCType {
|
|
|
95
95
|
handleOutgoingSignaling: ((remoteUserId: UserId, message: CallingMessage) => Promise<boolean>) | null;
|
|
96
96
|
handleIncomingCall: ((call: Call) => Promise<boolean>) | null;
|
|
97
97
|
handleStartCall: ((call: Call) => Promise<boolean>) | null;
|
|
98
|
+
handleOutputDeviceChanged: ((devices: Array<AudioDevice>) => Promise<void>) | null;
|
|
99
|
+
handleInputDeviceChanged: ((devices: Array<AudioDevice>) => Promise<void>) | null;
|
|
98
100
|
handleAutoEndedIncomingCallRequest: ((callId: CallId, remoteUserId: UserId, reason: CallEndedReason, ageSec: number, wasVideoCall: boolean, receivedAtCounter: number | undefined, receivedAtDate: number | undefined) => void) | null;
|
|
99
101
|
handleLogMessage: ((level: CallLogLevel, fileName: string, line: number, message: string) => void) | null;
|
|
100
102
|
handleSendHttpRequest: ((requestId: number, url: string, method: HttpMethod, headers: {
|
|
@@ -253,6 +255,8 @@ export declare class RingRTCType {
|
|
|
253
255
|
handleSpeechEvent(clientId: GroupCallClientId, event: SpeechEvent): void;
|
|
254
256
|
onRemoteMute(clientId: GroupCallClientId, demuxId: number): void;
|
|
255
257
|
onObservedRemoteMute(clientId: GroupCallClientId, sourceDemuxId: number, targetDemuxId: number): void;
|
|
258
|
+
onOutputDeviceChanged(devices: Array<AudioDevice>): void;
|
|
259
|
+
onInputDeviceChanged(devices: Array<AudioDevice>): void;
|
|
256
260
|
onLogMessage(level: number, fileName: string, line: number, message: string): void;
|
|
257
261
|
logError(message: string): void;
|
|
258
262
|
logWarn(message: string): void;
|
package/dist/ringrtc/Service.js
CHANGED
|
@@ -268,6 +268,8 @@ class RingRTCType {
|
|
|
268
268
|
this.handleOutgoingSignaling = null;
|
|
269
269
|
this.handleIncomingCall = null;
|
|
270
270
|
this.handleStartCall = null;
|
|
271
|
+
this.handleOutputDeviceChanged = null;
|
|
272
|
+
this.handleInputDeviceChanged = null;
|
|
271
273
|
this.handleAutoEndedIncomingCallRequest = null;
|
|
272
274
|
this.handleLogMessage = null;
|
|
273
275
|
this.handleSendHttpRequest = null;
|
|
@@ -1002,6 +1004,22 @@ class RingRTCType {
|
|
|
1002
1004
|
});
|
|
1003
1005
|
}
|
|
1004
1006
|
// Called by Rust
|
|
1007
|
+
onOutputDeviceChanged(devices) {
|
|
1008
|
+
(async () => {
|
|
1009
|
+
if (this.handleOutputDeviceChanged) {
|
|
1010
|
+
await this.handleOutputDeviceChanged(devices);
|
|
1011
|
+
}
|
|
1012
|
+
})().catch(e => this.logError(e.toString()));
|
|
1013
|
+
}
|
|
1014
|
+
// Called by Rust
|
|
1015
|
+
onInputDeviceChanged(devices) {
|
|
1016
|
+
(async () => {
|
|
1017
|
+
if (this.handleInputDeviceChanged) {
|
|
1018
|
+
await this.handleInputDeviceChanged(devices);
|
|
1019
|
+
}
|
|
1020
|
+
})().catch(e => this.logError(e.toString()));
|
|
1021
|
+
}
|
|
1022
|
+
// Called by Rust
|
|
1005
1023
|
onLogMessage(level, fileName, line, message) {
|
|
1006
1024
|
if (this.handleLogMessage) {
|
|
1007
1025
|
this.handleLogMessage(level, fileName, line, message);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@signalapp/ringrtc",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.58.0",
|
|
4
4
|
"description": "Signal Messenger voice and video calling library.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
},
|
|
29
29
|
"config": {
|
|
30
30
|
"prebuildUrl": "https://build-artifacts.signal.org/libraries/ringrtc-desktop-build-v${npm_package_version}.tar.gz",
|
|
31
|
-
"prebuildChecksum": "
|
|
31
|
+
"prebuildChecksum": "4e99497297b8e98452b619a63a7a3f2f7d811002ba9dc70d1ec820b67581f0c1"
|
|
32
32
|
},
|
|
33
33
|
"author": "",
|
|
34
34
|
"license": "AGPL-3.0-only",
|