@signalapp/ringrtc 2.60.4 → 2.60.6

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, mrp 2.60.4, protobuf 2.60.4, ringrtc 2.60.4, regex-aot 0.1.0, partial-default-derive 0.1.0
672
+ ## libsignal-account-keys 0.1.0, libsignal-core 0.1.0, mrp 2.60.6, protobuf 2.60.6, ringrtc 2.60.6, regex-aot 0.1.0, partial-default-derive 0.1.0
673
673
 
674
674
  ```
675
675
  GNU AFFERO GENERAL PUBLIC LICENSE
@@ -1262,9 +1262,8 @@ class Call {
1262
1262
  // We might have been in the reconnecting state and already started media.
1263
1263
  if (!this._mediaSessionStarted) {
1264
1264
  sillyDeadlockProtection(() => {
1265
- if (this._outgoingAudioEnabled) {
1266
- this._callManager.setOutgoingAudioEnabled(true);
1267
- }
1265
+ // Set the audio state to the latest setting from the UX.
1266
+ this._callManager.setOutgoingAudioEnabled(this._outgoingAudioEnabled);
1268
1267
  if (this._outgoingVideoIsScreenShare) {
1269
1268
  this._callManager.setOutgoingVideoIsScreenShare(true);
1270
1269
  this._callManager.setOutgoingVideoEnabled(true);
@@ -1279,12 +1278,8 @@ class Call {
1279
1278
  else if (state === CallState.Ended) {
1280
1279
  if (this._mediaSessionStarted) {
1281
1280
  sillyDeadlockProtection(() => {
1282
- if (this._outgoingAudioEnabled) {
1283
- this._callManager.setOutgoingAudioEnabled(false);
1284
- }
1285
- if (this._outgoingVideoEnabled) {
1286
- this._callManager.setOutgoingVideoEnabled(false);
1287
- }
1281
+ this._callManager.setOutgoingAudioEnabled(false);
1282
+ this._callManager.setOutgoingVideoEnabled(false);
1288
1283
  });
1289
1284
  this._outgoingAudioEnabled = false;
1290
1285
  this._outgoingVideoEnabled = false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@signalapp/ringrtc",
3
- "version": "2.60.4",
3
+ "version": "2.60.6",
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": "369f1746db55e7ee18de3485822688061f84bc0c9b357b9ccdd10522f4653b25"
36
+ "prebuildChecksum": "5d96189ffafa6c475213b63bfb63d7c724a4e8bdcc9d72b1035d57cf5de0bd41"
37
37
  },
38
38
  "author": "",
39
39
  "license": "AGPL-3.0-only",