@recallai/desktop-sdk 2.0.41 → 2.0.43

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,31 @@
1
+ ### 2.0.43 [patch] (MacOS+Windows) - 2026-11-03
2
+ - Support for Slack Huddles on Windows
3
+ - Support for Google Meet Raw Media (beta) in Chrome on Windows with opt-in feature flag
4
+ - Improvements to Zoom Raw Media off-screen cameras, camera discovery, local camera assignment, AV1 screenshares, and reconnection after network changes on macOS
5
+ - Reduced CPU usage of meeting detection on Windows
6
+ - Fix for chat messages sent with the Chat API missing from the local Zoom client with Zoom Raw Media on macOS
7
+ - Fix for microphone mute detection for Teams Desktop with the camera off, the window minimized, or a screenshare running on Windows
8
+ - Fix for system audio capture on multichannel output devices on macOS
9
+ - Fix for speaker timestamps across recording pauses
10
+ - Fix for falling back to audio-only mode while video inputs change, such as when a screenshare starts or a window is resized
11
+ - Fix for active speaker detection on a second recording of the same meeting on Windows
12
+
13
+ ### 2.0.42 [patch] (MacOS+Windows) - 2026-10-27
14
+ - Support for Zoom Desktop Raw Media (beta) on macOS with the `zoom-raw-media` permission and `zoom_raw_media_access` feature flag
15
+ - Improvements to Zoom Raw Media initialization, capture, meeting titles, and cleanup on macOS
16
+ - Add `process_name` to SDK window objects on macOS and Windows
17
+ - Add a `provider-error` event when a transcription provider exhausts its connection attempts on macOS and Windows
18
+ - Fix for compliance messaging with newer Teams Desktop chat controls, blurred editors, and multi-line messages on Windows
19
+ - Fix for delayed Google Meet detection without microphone activity on macOS
20
+ - Fix for Google Meet capture following a headless Chrome process instead of the user's browser on macOS
21
+ - Fix for Google Meet detection when the tab title contains a colon on macOS
22
+ - Fix for Zoom Desktop recording the self-view instead of the main meeting window in full screen on macOS
23
+ - Fix for Zoom system audio capture delivering only empty buffers while a remote participant speaks on macOS
24
+ - Fix for unnecessary macOS preference service restarts when the Zoom memlog preference is already set
25
+ - Fix for excessive Slack Huddle polling and missing `meeting-closed` events after stopping a recording on macOS
26
+ - Fix for a Teams Raw Media bot stop race on macOS
27
+ - Fix for Teams Raw Media not detecting meetings for Teams Business on macOS
28
+
1
29
  ### 2.0.41 [patch] (MacOS+Windows) - 2026-10-23
2
30
  - Fix for Raw Media for Google Meet meetings on meet.google.com/meet/<code> URLs on macOS
3
31
 
package/index.d.ts CHANGED
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * @see https://docs.recall.ai/docs/desktop-recording-sdk-event-types
8
8
  */
9
- export type RecallAiSdkEvent = RecordingStartEvent | RecordingStopEvent | UploadProgressEvent | MeetingDetectedEvent | MeetingUpdatedEvent | MeetingClosedEvent | SdkStateChangeEvent | ErrorEvent | MediaCaptureStatusEvent | ParticipantCaptureStatusEvent | ComplianceMessageStatusEvent | PermissionsGrantedEvent | PermissionStatusEvent | RealtimeEvent | ShutdownEvent | LogEvent | NetworkStatusEvent | ZoomComputerAudioEvent;
9
+ export type RecallAiSdkEvent = RecordingStartEvent | RecordingStopEvent | UploadProgressEvent | MeetingDetectedEvent | MeetingUpdatedEvent | MeetingClosedEvent | SdkStateChangeEvent | ErrorEvent | ProviderErrorEvent | MediaCaptureStatusEvent | ParticipantCaptureStatusEvent | ComplianceMessageStatusEvent | PermissionsGrantedEvent | PermissionStatusEvent | RealtimeEvent | ShutdownEvent | LogEvent | NetworkStatusEvent | ZoomComputerAudioEvent;
10
10
  /** Maps every supported event name to the payload received by its listener. */
11
11
  export type EventTypeToPayloadMap = {
12
12
  /** Emitted after media capture has started. */
@@ -29,6 +29,11 @@ export type EventTypeToPayloadMap = {
29
29
  'sdk-state-change': SdkStateChangeEvent;
30
30
  /** Emitted when the SDK encounters an asynchronous error. */
31
31
  'error': ErrorEvent;
32
+ /**
33
+ * Emitted when the SDK gives up on an external provider for a recording, such as after
34
+ * repeated failed attempts to connect to the configured transcription provider.
35
+ */
36
+ 'provider-error': ProviderErrorEvent;
32
37
  /** Emitted when recording-level audio or video capture starts or stops. */
33
38
  'media-capture-status': MediaCaptureStatusEvent;
34
39
  /** Emitted when capture of an individual participant's media starts or stops. */
@@ -56,7 +61,7 @@ export type EventTypeToPayloadMap = {
56
61
  * These permissions are only required on macOS. Windows reports permission requests as granted
57
62
  * because it does not require the corresponding macOS consent flows.
58
63
  *
59
- * `teams-automation` and `browser-automation` enable Raw Media and must be requested from an
64
+ * `teams-automation`, `browser-automation`, and `zoom-raw-media` enable Raw Media and must be requested from an
60
65
  * explicit user action before a meeting. They cannot be included in
61
66
  * {@link RecallAiSdkConfig.acquirePermissionsOnStartup}.
62
67
  *
@@ -77,7 +82,9 @@ export type Permission =
77
82
  /** Prepare Microsoft Teams Desktop for Raw Media capture. macOS only. */
78
83
  | 'teams-automation'
79
84
  /** Prepare the supported default Chromium browser for Google Meet Raw Media. macOS only. */
80
- | 'browser-automation';
85
+ | 'browser-automation'
86
+ /** Configure Zoom for Raw Media. macOS only. Zoom may restart. */
87
+ | 'zoom-raw-media';
81
88
  /** Identifies a meeting or prepared desktop-audio source known to the SDK. */
82
89
  export interface RecallAiSdkWindow {
83
90
  /**
@@ -91,6 +98,8 @@ export interface RecallAiSdkWindow {
91
98
  url?: string;
92
99
  /** Recall.ai meeting-platform identifier, when known. */
93
100
  platform?: string;
101
+ /** Hosting application's macOS bundle ID or Windows executable basename (including `.exe`); absent when unavailable or recording the whole desktop. */
102
+ process_name?: string;
94
103
  }
95
104
  /** Options used to initialize the Desktop Recording SDK. */
96
105
  export interface RecallAiSdkConfig {
@@ -110,7 +119,7 @@ export interface RecallAiSdkConfig {
110
119
  * automation permissions; request those separately from an explicit user interaction.
111
120
  * Ignored on Windows, where these permission flows are unnecessary.
112
121
  */
113
- acquirePermissionsOnStartup?: Exclude<Permission, 'teams-automation' | 'browser-automation'>[];
122
+ acquirePermissionsOnStartup?: Exclude<Permission, 'teams-automation' | 'browser-automation' | 'zoom-raw-media'>[];
114
123
  [key: string]: any;
115
124
  }
116
125
  /** Options used to start recording a detected meeting or prepared desktop-audio source. */
@@ -273,6 +282,8 @@ export interface PermissionStatusEvent {
273
282
  * supported default browser is unavailable.
274
283
  */
275
284
  status: 'granted' | 'not_requested' | 'denied' | 'not_installed' | 'error';
285
+ /** Setup error details, when `status` is `error`. */
286
+ error?: string;
276
287
  }
277
288
  /** Payload for an asynchronous SDK error. */
278
289
  export interface ErrorEvent {
@@ -283,6 +294,20 @@ export interface ErrorEvent {
283
294
  /** Human-readable diagnostic message. */
284
295
  message: string;
285
296
  }
297
+ /** Payload for the `provider-error` event. */
298
+ export interface ProviderErrorEvent {
299
+ /** Recording affected by the provider failure. */
300
+ window: RecallAiSdkWindow;
301
+ /** Kind of external provider that failed. */
302
+ class: 'transcription';
303
+ /** Provider identifier, such as `deepgram` or `assemblyai_v3`. */
304
+ provider: string;
305
+ /** Details of the provider's last error, when available. */
306
+ providerError?: {
307
+ /** Error message as reported by the provider; the format varies by provider. */
308
+ message: string;
309
+ };
310
+ }
286
311
  /** Payload delivered for a configured `desktop_sdk_callback` realtime event. */
287
312
  export interface RealtimeEvent {
288
313
  /** Recording that produced the realtime event. */
@@ -378,9 +403,10 @@ export declare function dumpAllApplications(): Promise<any>;
378
403
  * {@link prepareDesktopAudioRecording}.
379
404
  *
380
405
  * Supported on macOS and Windows. `windowId` must come from the SDK and `uploadToken` must come
381
- * from a newly created Desktop SDK Upload. On supported macOS meeting platforms, the SDK uses Raw
382
- * Media when it is enabled and available; otherwise it records locally. Resolve capture mode from
383
- * `recording-started.rawMedia` rather than predicting it from configuration.
406
+ * from a newly created Desktop SDK Upload. On supported meeting platforms, including Google Meet
407
+ * in Chrome on Windows ARM64 and x64, the SDK uses Raw Media when it is enabled and available; otherwise
408
+ * it records locally. Resolve capture mode from `recording-started.rawMedia` rather than predicting
409
+ * it from configuration. Integrators manage user approval for Chrome access in their application.
384
410
  *
385
411
  * The returned promise only confirms that the start command was accepted. Listen for
386
412
  * `recording-started` to confirm that media capture began and `error` for asynchronous failures.
@@ -396,10 +422,10 @@ export declare function startRecording(config: StartRecordingConfig): Promise<nu
396
422
  /**
397
423
  * Stops the active recording for a meeting or prepared desktop-audio source.
398
424
  *
399
- * Supported for local recordings on macOS and Windows and for Raw Media recordings on macOS. The
400
- * returned promise confirms command handling, not completion of cloud artifact processing. Listen
401
- * for `recording-ended` for capture completion and use Desktop SDK Upload webhooks for final upload
402
- * status.
425
+ * Supported for local recordings on macOS and Windows and for Raw Media recordings on macOS and
426
+ * Windows Google Meet in Chrome on ARM64 and x64. The returned promise confirms command handling, not completion of
427
+ * cloud artifact processing. Listen for `recording-ended` for capture completion and use Desktop
428
+ * SDK Upload webhooks for final upload status.
403
429
  *
404
430
  * @param config ID originally passed to {@link startRecording}.
405
431
  * @returns `null` after the stop command is handled.
@@ -409,7 +435,8 @@ export declare function stopRecording({ windowId }: StopRecordingConfig): Promis
409
435
  /**
410
436
  * Pauses media capture for an active recording without ending the recording.
411
437
  *
412
- * Supported for local recordings on macOS and Windows and for Raw Media recordings on macOS. Use
438
+ * Supported for local recordings on macOS and Windows and for Raw Media recordings on macOS and
439
+ * Windows Google Meet in Chrome on ARM64 and x64. Use
413
440
  * the same `windowId` that was passed to {@link startRecording}. Call {@link resumeRecording} to
414
441
  * continue the recording.
415
442
  *
@@ -421,7 +448,8 @@ export declare function pauseRecording({ windowId }: PauseRecordingConfig): Prom
421
448
  /**
422
449
  * Resumes media capture for a paused recording.
423
450
  *
424
- * Supported for local recordings on macOS and Windows and for Raw Media recordings on macOS. Use
451
+ * Supported for local recordings on macOS and Windows and for Raw Media recordings on macOS and
452
+ * Windows Google Meet in Chrome on ARM64 and x64. Use
425
453
  * the same `windowId` that was passed to {@link startRecording}.
426
454
  *
427
455
  * @param config Paused recording ID.
@@ -433,9 +461,10 @@ export declare function resumeRecording({ windowId }: ResumeRecordingConfig): Pr
433
461
  * Sends a chat message through an active Desktop SDK Raw Media recording.
434
462
  *
435
463
  * Supported for Microsoft Teams Desktop and supported Chromium-based Google Meet browsers on
436
- * macOS when `recording-started.rawMedia` is `true`. This method is not available for local
437
- * recordings or on Windows. The returned promise confirms that the message was accepted and queued
438
- * for the Raw Media connection; it does not confirm that the meeting platform displayed it.
464
+ * macOS, and for Google Meet in Chrome on Windows ARM64 and x64, when `recording-started.rawMedia` is `true`.
465
+ * This method is not available for local recordings. The returned promise confirms that the
466
+ * message was accepted and queued for the Raw Media connection; it does not confirm that the
467
+ * meeting platform displayed it.
439
468
  *
440
469
  * @param config Active Raw Media recording ID, message, recipient, and pin behavior.
441
470
  * @returns `null` after the message is queued.
@@ -501,7 +530,7 @@ export declare function setDesktopAudioDevice(id: string | null, dir: AudioDevic
501
530
  * `permission-status` for the resulting state; promise resolution does not by itself mean the user
502
531
  * granted access. Windows does not require these macOS permissions and reports requests as granted.
503
532
  *
504
- * Request `teams-automation` and `browser-automation` only from an explicit user interaction and
533
+ * Request `teams-automation`, `browser-automation`, and `zoom-raw-media` only from an explicit user interaction and
505
534
  * before a meeting starts. Automation setup may restart Teams or the supported default browser and
506
535
  * must not be requested through `acquirePermissionsOnStartup`.
507
536
  *
package/index.js CHANGED
@@ -502,6 +502,7 @@ function startProcess() {
502
502
  GST_DEBUG_DUMP_DOT_DIR: gst_dump_dir,
503
503
  GST_REGISTRY_FORK: "no",
504
504
  RUST_BACKTRACE: "full",
505
+ ...(process.env.ZOOM_PROXY_TRACE_DIR ? { ZOOM_PROXY_TRACE_DIR: process.env.ZOOM_PROXY_TRACE_DIR } : {}),
505
506
  // "DYLD_INSERT_LIBRARIES":"/opt/homebrew/lib/libjemalloc.dylib",
506
507
  // "MALLOC_CONF":"prof:true,prof_active:true,prof_prefix:jeprof",
507
508
  // "DYLD_FORCE_FLAT_NAMESPACE":"1",
@@ -773,9 +774,10 @@ function dumpAllApplications() {
773
774
  * {@link prepareDesktopAudioRecording}.
774
775
  *
775
776
  * Supported on macOS and Windows. `windowId` must come from the SDK and `uploadToken` must come
776
- * from a newly created Desktop SDK Upload. On supported macOS meeting platforms, the SDK uses Raw
777
- * Media when it is enabled and available; otherwise it records locally. Resolve capture mode from
778
- * `recording-started.rawMedia` rather than predicting it from configuration.
777
+ * from a newly created Desktop SDK Upload. On supported meeting platforms, including Google Meet
778
+ * in Chrome on Windows ARM64 and x64, the SDK uses Raw Media when it is enabled and available; otherwise
779
+ * it records locally. Resolve capture mode from `recording-started.rawMedia` rather than predicting
780
+ * it from configuration. Integrators manage user approval for Chrome access in their application.
779
781
  *
780
782
  * The returned promise only confirms that the start command was accepted. Listen for
781
783
  * `recording-started` to confirm that media capture began and `error` for asynchronous failures.
@@ -793,10 +795,10 @@ function startRecording(config) {
793
795
  /**
794
796
  * Stops the active recording for a meeting or prepared desktop-audio source.
795
797
  *
796
- * Supported for local recordings on macOS and Windows and for Raw Media recordings on macOS. The
797
- * returned promise confirms command handling, not completion of cloud artifact processing. Listen
798
- * for `recording-ended` for capture completion and use Desktop SDK Upload webhooks for final upload
799
- * status.
798
+ * Supported for local recordings on macOS and Windows and for Raw Media recordings on macOS and
799
+ * Windows Google Meet in Chrome on ARM64 and x64. The returned promise confirms command handling, not completion of
800
+ * cloud artifact processing. Listen for `recording-ended` for capture completion and use Desktop
801
+ * SDK Upload webhooks for final upload status.
800
802
  *
801
803
  * @param config ID originally passed to {@link startRecording}.
802
804
  * @returns `null` after the stop command is handled.
@@ -808,7 +810,8 @@ function stopRecording({ windowId }) {
808
810
  /**
809
811
  * Pauses media capture for an active recording without ending the recording.
810
812
  *
811
- * Supported for local recordings on macOS and Windows and for Raw Media recordings on macOS. Use
813
+ * Supported for local recordings on macOS and Windows and for Raw Media recordings on macOS and
814
+ * Windows Google Meet in Chrome on ARM64 and x64. Use
812
815
  * the same `windowId` that was passed to {@link startRecording}. Call {@link resumeRecording} to
813
816
  * continue the recording.
814
817
  *
@@ -822,7 +825,8 @@ function pauseRecording({ windowId }) {
822
825
  /**
823
826
  * Resumes media capture for a paused recording.
824
827
  *
825
- * Supported for local recordings on macOS and Windows and for Raw Media recordings on macOS. Use
828
+ * Supported for local recordings on macOS and Windows and for Raw Media recordings on macOS and
829
+ * Windows Google Meet in Chrome on ARM64 and x64. Use
826
830
  * the same `windowId` that was passed to {@link startRecording}.
827
831
  *
828
832
  * @param config Paused recording ID.
@@ -836,9 +840,10 @@ function resumeRecording({ windowId }) {
836
840
  * Sends a chat message through an active Desktop SDK Raw Media recording.
837
841
  *
838
842
  * Supported for Microsoft Teams Desktop and supported Chromium-based Google Meet browsers on
839
- * macOS when `recording-started.rawMedia` is `true`. This method is not available for local
840
- * recordings or on Windows. The returned promise confirms that the message was accepted and queued
841
- * for the Raw Media connection; it does not confirm that the meeting platform displayed it.
843
+ * macOS, and for Google Meet in Chrome on Windows ARM64 and x64, when `recording-started.rawMedia` is `true`.
844
+ * This method is not available for local recordings. The returned promise confirms that the
845
+ * message was accepted and queued for the Raw Media connection; it does not confirm that the
846
+ * meeting platform displayed it.
842
847
  *
843
848
  * @param config Active Raw Media recording ID, message, recipient, and pin behavior.
844
849
  * @returns `null` after the message is queued.
@@ -914,7 +919,7 @@ function setDesktopAudioDevice(id, dir) {
914
919
  * `permission-status` for the resulting state; promise resolution does not by itself mean the user
915
920
  * granted access. Windows does not require these macOS permissions and reports requests as granted.
916
921
  *
917
- * Request `teams-automation` and `browser-automation` only from an explicit user interaction and
922
+ * Request `teams-automation`, `browser-automation`, and `zoom-raw-media` only from an explicit user interaction and
918
923
  * before a meeting starts. Automation setup may restart Teams or the supported default browser and
919
924
  * must not be requested through `acquirePermissionsOnStartup`.
920
925
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@recallai/desktop-sdk",
3
- "version": "2.0.41",
3
+ "version": "2.0.43",
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": "23130fa5a4f8bb0bf5a8cc77816ce4f91ba840fb"
23
+ "commit_sha": "56f0b220ad1ca06468b4a9c07968e6e62b784261"
24
24
  }