@signalapp/ringrtc 2.37.0 → 2.38.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-core 0.1.0, partial-default-derive 0.1.0, regex-aot 0.1.0, ringrtc 2.
|
|
672
|
+
## libsignal-core 0.1.0, partial-default-derive 0.1.0, regex-aot 0.1.0, ringrtc 2.38.0
|
|
673
673
|
|
|
674
674
|
```
|
|
675
675
|
GNU AFFERO GENERAL PUBLIC LICENSE
|
|
@@ -252,7 +252,7 @@ export declare class RingRTCType {
|
|
|
252
252
|
setAudioOutput(index: number): void;
|
|
253
253
|
}
|
|
254
254
|
export interface CallSettings {
|
|
255
|
-
|
|
255
|
+
iceServers: Array<IceServer>;
|
|
256
256
|
hideIp: boolean;
|
|
257
257
|
dataMode: DataMode;
|
|
258
258
|
audioLevelsIntervalMillis?: number;
|
|
@@ -260,6 +260,7 @@ export interface CallSettings {
|
|
|
260
260
|
interface IceServer {
|
|
261
261
|
username?: string;
|
|
262
262
|
password?: string;
|
|
263
|
+
/** Provide hostname when urls contain IP addresses instead of hostname */
|
|
263
264
|
hostname?: string;
|
|
264
265
|
urls: Array<string>;
|
|
265
266
|
}
|
|
@@ -573,7 +574,7 @@ export interface CallManager {
|
|
|
573
574
|
setConfig(config: Config): void;
|
|
574
575
|
setSelfUuid(uuid: Buffer): void;
|
|
575
576
|
createOutgoingCall(remoteUserId: UserId, isVideoCall: boolean, localDeviceId: DeviceId): CallId;
|
|
576
|
-
proceed(callId: CallId,
|
|
577
|
+
proceed(callId: CallId, iceServers: Array<IceServer>, hideIp: boolean, dataMode: DataMode, audioLevelsIntervalMillis: number): void;
|
|
577
578
|
accept(callId: CallId): void;
|
|
578
579
|
ignore(callId: CallId): void;
|
|
579
580
|
hangup(): void;
|
package/dist/ringrtc/Service.js
CHANGED
|
@@ -33,6 +33,7 @@ class NativeCallManager {
|
|
|
33
33
|
const fieldTrials = Object.assign({
|
|
34
34
|
'RingRTC-AnyAddressPortsKillSwitch': 'Enabled',
|
|
35
35
|
'WebRTC-Audio-OpusSetSignalVoiceWithDtx': 'Enabled',
|
|
36
|
+
'RingRTC-PruneTurnPorts': 'Enabled',
|
|
36
37
|
}, config.field_trials);
|
|
37
38
|
/* eslint-disable prefer-template */
|
|
38
39
|
const fieldTrialsString = Object.entries(fieldTrials)
|
|
@@ -341,7 +342,7 @@ class RingRTCType {
|
|
|
341
342
|
}
|
|
342
343
|
proceed(callId, settings) {
|
|
343
344
|
sillyDeadlockProtection(() => {
|
|
344
|
-
this.callManager.proceed(callId, settings.
|
|
345
|
+
this.callManager.proceed(callId, settings.iceServers, settings.hideIp, settings.dataMode, settings.audioLevelsIntervalMillis || 0);
|
|
345
346
|
});
|
|
346
347
|
}
|
|
347
348
|
// Called by Rust
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@signalapp/ringrtc",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.38.0",
|
|
4
4
|
"description": "Signal Messenger voice and video calling library.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
},
|
|
26
26
|
"config": {
|
|
27
27
|
"prebuildUrl": "https://build-artifacts.signal.org/libraries/ringrtc-desktop-build-v${npm_package_version}.tar.gz",
|
|
28
|
-
"prebuildChecksum": "
|
|
28
|
+
"prebuildChecksum": "5168544dd09b8fc1d9981736ce5b066c1619f2de4220467e24b9a8cfbd19edc7"
|
|
29
29
|
},
|
|
30
30
|
"author": "",
|
|
31
31
|
"license": "AGPL-3.0-only",
|