@signalapp/ringrtc 2.50.2 → 2.50.4

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.50.2, protobuf 2.50.2, ringrtc 2.50.2, 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.50.4, protobuf 2.50.4, ringrtc 2.50.4, regex-aot 0.1.0, partial-default-derive 0.1.0
673
673
 
674
674
  ```
675
675
  GNU AFFERO GENERAL PUBLIC LICENSE
@@ -1453,7 +1453,7 @@ THIS SOFTWARE.
1453
1453
 
1454
1454
  ```
1455
1455
 
1456
- ## cubeb-core 0.22.0, cubeb-sys 0.22.0, cubeb 0.22.0
1456
+ ## cubeb-core 0.27.0, cubeb-sys 0.27.0, cubeb 0.27.0
1457
1457
 
1458
1458
  ```
1459
1459
  Copyright © 2017 Mozilla Foundation
@@ -43,7 +43,7 @@ export declare class GumVideoCapturer {
43
43
  constructor(defaultCaptureOptions: GumVideoCaptureOptions);
44
44
  capturing(): boolean;
45
45
  setLocalPreview(localPreview: Ref<HTMLVideoElement> | undefined): void;
46
- enableCapture(): Promise<void>;
46
+ enableCapture(options?: GumVideoCaptureOptions): Promise<void>;
47
47
  enableCaptureAndSend(sender?: VideoFrameSender, options?: GumVideoCaptureOptions): Promise<void>;
48
48
  disable(): void;
49
49
  setPreferredDevice(deviceId: string): Promise<void>;
@@ -72,8 +72,8 @@ class GumVideoCapturer {
72
72
  }
73
73
  this.updateLocalPreviewIntervalId = setInterval(this.updateLocalPreviewSourceObject.bind(this), 1000);
74
74
  }
75
- async enableCapture() {
76
- return this.startCapturing(this.defaultCaptureOptions);
75
+ async enableCapture(options) {
76
+ return this.startCapturing(options ?? this.defaultCaptureOptions);
77
77
  }
78
78
  async enableCaptureAndSend(sender, options) {
79
79
  const startCapturingPromise = this.startCapturing(options ?? this.defaultCaptureOptions);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@signalapp/ringrtc",
3
- "version": "2.50.2",
3
+ "version": "2.50.4",
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": "f8d436f656681f49b1023e15d9411fc8a5f77309f697f316248aac65c4a4fd73"
28
+ "prebuildChecksum": "31d1bedee2ff4ebc42fdcb92d16b936392c8d5a4e3ebaf3d2f4a53b75c617a36"
29
29
  },
30
30
  "author": "",
31
31
  "license": "AGPL-3.0-only",