@recallai/desktop-sdk 2.0.41 → 2.0.42
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 +16 -0
- package/index.d.ts +30 -5
- package/index.js +2 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,19 @@
|
|
|
1
|
+
### 2.0.42 [patch] (MacOS+Windows) - 2026-10-27
|
|
2
|
+
- Support for Zoom Desktop Raw Media (beta) on macOS with the `zoom-raw-media` permission and `zoom_raw_media_access` feature flag
|
|
3
|
+
- Improvements to Zoom Raw Media initialization, capture, meeting titles, and cleanup on macOS
|
|
4
|
+
- Add `process_name` to SDK window objects on macOS and Windows
|
|
5
|
+
- Add a `provider-error` event when a transcription provider exhausts its connection attempts on macOS and Windows
|
|
6
|
+
- Fix for compliance messaging with newer Teams Desktop chat controls, blurred editors, and multi-line messages on Windows
|
|
7
|
+
- Fix for delayed Google Meet detection without microphone activity on macOS
|
|
8
|
+
- Fix for Google Meet capture following a headless Chrome process instead of the user's browser on macOS
|
|
9
|
+
- Fix for Google Meet detection when the tab title contains a colon on macOS
|
|
10
|
+
- Fix for Zoom Desktop recording the self-view instead of the main meeting window in full screen on macOS
|
|
11
|
+
- Fix for Zoom system audio capture delivering only empty buffers while a remote participant speaks on macOS
|
|
12
|
+
- Fix for unnecessary macOS preference service restarts when the Zoom memlog preference is already set
|
|
13
|
+
- Fix for excessive Slack Huddle polling and missing `meeting-closed` events after stopping a recording on macOS
|
|
14
|
+
- Fix for a Teams Raw Media bot stop race on macOS
|
|
15
|
+
- Fix for Teams Raw Media not detecting meetings for Teams Business on macOS
|
|
16
|
+
|
|
1
17
|
### 2.0.41 [patch] (MacOS+Windows) - 2026-10-23
|
|
2
18
|
- Fix for Raw Media for Google Meet meetings on meet.google.com/meet/<code> URLs on macOS
|
|
3
19
|
|
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 `
|
|
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. */
|
|
@@ -501,7 +526,7 @@ export declare function setDesktopAudioDevice(id: string | null, dir: AudioDevic
|
|
|
501
526
|
* `permission-status` for the resulting state; promise resolution does not by itself mean the user
|
|
502
527
|
* granted access. Windows does not require these macOS permissions and reports requests as granted.
|
|
503
528
|
*
|
|
504
|
-
* Request `teams-automation` and `
|
|
529
|
+
* Request `teams-automation`, `browser-automation`, and `zoom-raw-media` only from an explicit user interaction and
|
|
505
530
|
* before a meeting starts. Automation setup may restart Teams or the supported default browser and
|
|
506
531
|
* must not be requested through `acquirePermissionsOnStartup`.
|
|
507
532
|
*
|
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",
|
|
@@ -914,7 +915,7 @@ function setDesktopAudioDevice(id, dir) {
|
|
|
914
915
|
* `permission-status` for the resulting state; promise resolution does not by itself mean the user
|
|
915
916
|
* granted access. Windows does not require these macOS permissions and reports requests as granted.
|
|
916
917
|
*
|
|
917
|
-
* Request `teams-automation` and `
|
|
918
|
+
* Request `teams-automation`, `browser-automation`, and `zoom-raw-media` only from an explicit user interaction and
|
|
918
919
|
* before a meeting starts. Automation setup may restart Teams or the supported default browser and
|
|
919
920
|
* must not be requested through `acquirePermissionsOnStartup`.
|
|
920
921
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@recallai/desktop-sdk",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.42",
|
|
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": "
|
|
23
|
+
"commit_sha": "03343170364a062fb3a964b675641dec1f4f9470"
|
|
24
24
|
}
|