@signalapp/ringrtc 2.68.0 → 2.69.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 +1 -1
- package/dist/ringrtc/Service.d.ts +12 -0
- package/dist/ringrtc/Service.js +15 -1
- package/package.json +2 -2
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, libsignal-debug 0.89.2, mrp 2.
|
|
672
|
+
## libsignal-account-keys 0.1.0, libsignal-core 0.1.0, libsignal-debug 0.89.2, mrp 2.69.0, protobuf 2.69.0, ringrtc 2.69.0, regex-aot 0.1.0, partial-default-derive 0.1.0, partial-default 0.1.0
|
|
673
673
|
|
|
674
674
|
```
|
|
675
675
|
GNU AFFERO GENERAL PUBLIC LICENSE
|
|
@@ -299,6 +299,17 @@ export declare class RingRTCType {
|
|
|
299
299
|
setAudioInput(index: number): void;
|
|
300
300
|
getAudioOutputs(): Array<AudioDevice>;
|
|
301
301
|
setAudioOutput(index: number): void;
|
|
302
|
+
/**
|
|
303
|
+
* Enables or disables different voice processing techniques including:
|
|
304
|
+
* - Acoustic Echo Cancellation (AEC)
|
|
305
|
+
* - Noise Supression (NS)
|
|
306
|
+
* - Automatic Gain Control (AGC)
|
|
307
|
+
*
|
|
308
|
+
* This request is idempotent
|
|
309
|
+
*
|
|
310
|
+
* @param enabled - whether to enable voice processing
|
|
311
|
+
*/
|
|
312
|
+
setVoiceProcessingEnabled(enabled: boolean): void;
|
|
302
313
|
}
|
|
303
314
|
export interface CallSettings {
|
|
304
315
|
iceServers: Array<IceServer>;
|
|
@@ -706,6 +717,7 @@ export interface CallManager {
|
|
|
706
717
|
setAudioInput(index: number): void;
|
|
707
718
|
getAudioOutputs(): Array<AudioDevice>;
|
|
708
719
|
setAudioOutput(index: number): void;
|
|
720
|
+
setVoiceProcessingEnabled(enabled: boolean): void;
|
|
709
721
|
}
|
|
710
722
|
export interface CallManagerCallbacks {
|
|
711
723
|
onStartOutgoingCall(remoteUserId: UserId, callId: CallId): void;
|
package/dist/ringrtc/Service.js
CHANGED
|
@@ -34,7 +34,6 @@ class NativeCallManager {
|
|
|
34
34
|
'RingRTC-PruneTurnPorts': 'Enabled',
|
|
35
35
|
'WebRTC-Bwe-ProbingConfiguration': 'skip_if_est_larger_than_fraction_of_max:0.99',
|
|
36
36
|
'WebRTC-IncreaseIceCandidatePriorityHostSrflx': 'Enabled',
|
|
37
|
-
'WebRTC-Audio-OpusGeneratePlc': 'Enabled',
|
|
38
37
|
}, config.field_trials);
|
|
39
38
|
/* eslint-disable prefer-template */
|
|
40
39
|
const fieldTrialsString = Object.entries(fieldTrials)
|
|
@@ -145,6 +144,8 @@ NativeCallManager.prototype.setAudioInput = Native_1.default.cm_setAudioInput;
|
|
|
145
144
|
NativeCallManager.prototype.getAudioOutputs =
|
|
146
145
|
Native_1.default.cm_getAudioOutputs;
|
|
147
146
|
NativeCallManager.prototype.setAudioOutput = Native_1.default.cm_setAudioOutput;
|
|
147
|
+
NativeCallManager.prototype.setVoiceProcessingEnabled =
|
|
148
|
+
Native_1.default.cm_setVoiceProcessingEnabled;
|
|
148
149
|
NativeCallManager.prototype.processEvents = Native_1.default.cm_processEvents;
|
|
149
150
|
NativeCallManager.prototype.setRtcStatsInterval =
|
|
150
151
|
Native_1.default.cm_setRtcStatsInterval;
|
|
@@ -1208,6 +1209,19 @@ class RingRTCType {
|
|
|
1208
1209
|
setAudioOutput(index) {
|
|
1209
1210
|
this.callManager.setAudioOutput(index);
|
|
1210
1211
|
}
|
|
1212
|
+
/**
|
|
1213
|
+
* Enables or disables different voice processing techniques including:
|
|
1214
|
+
* - Acoustic Echo Cancellation (AEC)
|
|
1215
|
+
* - Noise Supression (NS)
|
|
1216
|
+
* - Automatic Gain Control (AGC)
|
|
1217
|
+
*
|
|
1218
|
+
* This request is idempotent
|
|
1219
|
+
*
|
|
1220
|
+
* @param enabled - whether to enable voice processing
|
|
1221
|
+
*/
|
|
1222
|
+
setVoiceProcessingEnabled(enabled) {
|
|
1223
|
+
this.callManager.setVoiceProcessingEnabled(enabled);
|
|
1224
|
+
}
|
|
1211
1225
|
}
|
|
1212
1226
|
exports.RingRTCType = RingRTCType;
|
|
1213
1227
|
// Given a weird name to not conflict with WebCodec's VideoPixelFormat
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@signalapp/ringrtc",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.69.0",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/signalapp/ringrtc.git",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
},
|
|
34
34
|
"config": {
|
|
35
35
|
"prebuildUrl": "https://build-artifacts.signal.org/libraries/ringrtc-desktop-build-v${npm_package_version}.tar.gz",
|
|
36
|
-
"prebuildChecksum": "
|
|
36
|
+
"prebuildChecksum": "07f9dae2033e9cb3718aa3845b0b074328d05ab5e71ac55219442d1001ff93c8"
|
|
37
37
|
},
|
|
38
38
|
"author": "",
|
|
39
39
|
"license": "AGPL-3.0-only",
|