@signalapp/ringrtc 2.68.1 → 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.
@@ -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.68.1, protobuf 2.68.1, ringrtc 2.68.1, regex-aot 0.1.0, partial-default-derive 0.1.0, partial-default 0.1.0
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;
@@ -144,6 +144,8 @@ NativeCallManager.prototype.setAudioInput = Native_1.default.cm_setAudioInput;
144
144
  NativeCallManager.prototype.getAudioOutputs =
145
145
  Native_1.default.cm_getAudioOutputs;
146
146
  NativeCallManager.prototype.setAudioOutput = Native_1.default.cm_setAudioOutput;
147
+ NativeCallManager.prototype.setVoiceProcessingEnabled =
148
+ Native_1.default.cm_setVoiceProcessingEnabled;
147
149
  NativeCallManager.prototype.processEvents = Native_1.default.cm_processEvents;
148
150
  NativeCallManager.prototype.setRtcStatsInterval =
149
151
  Native_1.default.cm_setRtcStatsInterval;
@@ -1207,6 +1209,19 @@ class RingRTCType {
1207
1209
  setAudioOutput(index) {
1208
1210
  this.callManager.setAudioOutput(index);
1209
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
+ }
1210
1225
  }
1211
1226
  exports.RingRTCType = RingRTCType;
1212
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.68.1",
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": "8cb449c1068be7bf9b241e5cf906187d8401643e67537a00900b9ea3da213525"
36
+ "prebuildChecksum": "07f9dae2033e9cb3718aa3845b0b074328d05ab5e71ac55219442d1001ff93c8"
37
37
  },
38
38
  "author": "",
39
39
  "license": "AGPL-3.0-only",