@recallai/desktop-sdk 2.0.10 → 2.0.12

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/CHANGELOG.md CHANGED
@@ -1,3 +1,29 @@
1
+ ### 2.0.12 [patch] (MacOS+Windows) - 2026-04-30
2
+ - Various crash fixes on macOS / Windows
3
+ - Fixed some internal requests to use system tls on macOS/Windows.
4
+ - Stop capture when we internally fatal and notify via error callback.
5
+ - Deprecate sdk-state-change in npm package.
6
+ - Improve telemetry for internal audio pipeline.
7
+ - Add telemetry to detect if system audio is 0 (system is muted) on macOS.
8
+ - Properly fallback to secondary mic recorder if primary hangs on macOS.
9
+ - Fixed issue affecting Teams where recordings in gallery view caused video flickering on macOS.
10
+ - Fixed issue affecting Chromium / Safari where changing tabs within a separate non-meeting browser causes the recording to go black at times on macOS.
11
+ - Add multiwindow sharing for Zoom on macOS.
12
+ - Add vertical tab support for Google Chrome meeting detection on macOS (already supported on Windows).
13
+
14
+ ### 2.0.11 [patch] (MacOS+Windows) - 2026-04-10
15
+ - Improve reliability of mic stream on macOS
16
+ - Fix rare deadlock in mic stream shutdown causing startRecording and prepareDesktopAudioRecording hangs on macOS
17
+ - Add npm command hang detection on macOS
18
+ - Fix a rare audio pipeline issue causing dropped audio
19
+ - Revamped meeting detection for Chromium to improve reliability of meeting-detected and meeting-closed events for MacOS
20
+ - Fix sporadic appearances of "HOST" and "GUEST" for Zoom and Teams MacOS
21
+ - Fix sporadic cases where a substantial part of meeting audio was consistently to attributed to incorrect speaker for Zoom and Teams MacOS
22
+ - Fix edge-cases where Teams failed to detect that a meeting closed MacOS
23
+ - Windows audio capture fixes, and device tracking improvements
24
+ - Fixed google meet end of call detection on windows
25
+ - Fixed teams end of call detection on windows
26
+
1
27
  ### 2.0.10 [patch] (MacOS+Windows) - 2026-04-03
2
28
  - Fix URL detection for Zoom version 7.0.0 on macOS (Windows is unaffected by this issue and should continue to present URLs normally).
3
29
 
package/index.d.ts CHANGED
@@ -9,6 +9,9 @@ export type EventTypeToPayloadMap = {
9
9
  'meeting-detected': MeetingDetectedEvent;
10
10
  'meeting-updated': MeetingUpdatedEvent;
11
11
  'meeting-closed': MeetingClosedEvent;
12
+ /**
13
+ * @deprecated Use recording-started/recording-ended instead.
14
+ */
12
15
  'sdk-state-change': SdkStateChangeEvent;
13
16
  'error': ErrorEvent;
14
17
  'media-capture-status': MediaCaptureStatusEvent;
@@ -78,6 +81,9 @@ export interface MeetingUpdatedEvent {
78
81
  export interface MeetingClosedEvent {
79
82
  window: RecallAiSdkWindow;
80
83
  }
84
+ /**
85
+ * @deprecated Use recording-started/recording-ended instead.
86
+ */
81
87
  export interface SdkStateChangeEvent {
82
88
  sdk: {
83
89
  state: {
package/index.js CHANGED
@@ -108,6 +108,7 @@ function getPackageVersion() {
108
108
  process.on("exit", () => {
109
109
  exiting = true;
110
110
  if (proc && !proc.killed) {
111
+ console.warn("Desktop SDK received exit signal and is still running, killing the process.");
111
112
  proc.kill();
112
113
  proc = null;
113
114
  }
@@ -536,10 +537,11 @@ function startProcess() {
536
537
  rlData = null;
537
538
  rlStdout = null;
538
539
  rlStderr = null;
539
- if (code === 0 || signal === 'SIGINT' || exiting) {
540
+ if (code === 0 || signal === 'SIGINT' || signal === 'SIGTERM' || exiting) {
541
+ log(`Desktop SDK: Process closed with code ${code}, signal ${signal}, exiting ${exiting}`);
540
542
  return;
541
543
  }
542
- logError(`Desktop SDK: Process exited with code ${code}, signal ${signal}`);
544
+ logError(`Desktop SDK: Process exited with code ${code}, signal ${signal}, exiting ${exiting}`);
543
545
  emitEvent('error', {
544
546
  type: 'process',
545
547
  message: "The Desktop SDK server process exited unexpectedly."
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@recallai/desktop-sdk",
3
- "version": "2.0.10",
3
+ "version": "2.0.12",
4
4
  "description": "Recall Desktop SDK",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",
@@ -20,5 +20,5 @@
20
20
  "@types/node": "^24.2.0",
21
21
  "typescript": "^5.3.3"
22
22
  },
23
- "commit_sha": "dde11c0be7cca9e3f70957cf1e9a36c77f6fa177"
23
+ "commit_sha": "87603284d9e1b416a9f1b66b2d3587a8ec2af707"
24
24
  }