@recallai/desktop-sdk 2024.1.29-e6120eb92946a71c1f3a0889ec5ef2d8016c0c73 → 2024.2.1-0c0f140ff96917a5c30940d71d7fd0712780a89c

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.
Files changed (42) hide show
  1. package/binding.gyp +11 -1
  2. package/desktop_sdk_macos.framework/Headers/desktop_sdk_macos-Swift.h +6 -0
  3. package/desktop_sdk_macos.framework/Modules/desktop_sdk_macos.swiftmodule/Project/arm64-apple-macos.swiftsourceinfo +0 -0
  4. package/desktop_sdk_macos.framework/Modules/desktop_sdk_macos.swiftmodule/Project/x86_64-apple-macos.swiftsourceinfo +0 -0
  5. package/desktop_sdk_macos.framework/Modules/desktop_sdk_macos.swiftmodule/arm64-apple-macos.abi.json +587 -35
  6. package/desktop_sdk_macos.framework/Modules/desktop_sdk_macos.swiftmodule/arm64-apple-macos.private.swiftinterface +17 -0
  7. package/desktop_sdk_macos.framework/Modules/desktop_sdk_macos.swiftmodule/arm64-apple-macos.swiftinterface +17 -0
  8. package/desktop_sdk_macos.framework/Modules/desktop_sdk_macos.swiftmodule/arm64-apple-macos.swiftmodule +0 -0
  9. package/desktop_sdk_macos.framework/Modules/desktop_sdk_macos.swiftmodule/x86_64-apple-macos.abi.json +587 -35
  10. package/desktop_sdk_macos.framework/Modules/desktop_sdk_macos.swiftmodule/x86_64-apple-macos.private.swiftinterface +17 -0
  11. package/desktop_sdk_macos.framework/Modules/desktop_sdk_macos.swiftmodule/x86_64-apple-macos.swiftinterface +17 -0
  12. package/desktop_sdk_macos.framework/Modules/desktop_sdk_macos.swiftmodule/x86_64-apple-macos.swiftmodule +0 -0
  13. package/desktop_sdk_macos.framework/Versions/A/Headers/desktop_sdk_macos-Swift.h +6 -0
  14. package/desktop_sdk_macos.framework/Versions/A/Modules/desktop_sdk_macos.swiftmodule/Project/arm64-apple-macos.swiftsourceinfo +0 -0
  15. package/desktop_sdk_macos.framework/Versions/A/Modules/desktop_sdk_macos.swiftmodule/Project/x86_64-apple-macos.swiftsourceinfo +0 -0
  16. package/desktop_sdk_macos.framework/Versions/A/Modules/desktop_sdk_macos.swiftmodule/arm64-apple-macos.abi.json +587 -35
  17. package/desktop_sdk_macos.framework/Versions/A/Modules/desktop_sdk_macos.swiftmodule/arm64-apple-macos.private.swiftinterface +17 -0
  18. package/desktop_sdk_macos.framework/Versions/A/Modules/desktop_sdk_macos.swiftmodule/arm64-apple-macos.swiftinterface +17 -0
  19. package/desktop_sdk_macos.framework/Versions/A/Modules/desktop_sdk_macos.swiftmodule/arm64-apple-macos.swiftmodule +0 -0
  20. package/desktop_sdk_macos.framework/Versions/A/Modules/desktop_sdk_macos.swiftmodule/x86_64-apple-macos.abi.json +587 -35
  21. package/desktop_sdk_macos.framework/Versions/A/Modules/desktop_sdk_macos.swiftmodule/x86_64-apple-macos.private.swiftinterface +17 -0
  22. package/desktop_sdk_macos.framework/Versions/A/Modules/desktop_sdk_macos.swiftmodule/x86_64-apple-macos.swiftinterface +17 -0
  23. package/desktop_sdk_macos.framework/Versions/A/Modules/desktop_sdk_macos.swiftmodule/x86_64-apple-macos.swiftmodule +0 -0
  24. package/desktop_sdk_macos.framework/Versions/A/desktop_sdk_macos +0 -0
  25. package/desktop_sdk_macos.framework/Versions/Current/Headers/desktop_sdk_macos-Swift.h +6 -0
  26. package/desktop_sdk_macos.framework/Versions/Current/Modules/desktop_sdk_macos.swiftmodule/Project/arm64-apple-macos.swiftsourceinfo +0 -0
  27. package/desktop_sdk_macos.framework/Versions/Current/Modules/desktop_sdk_macos.swiftmodule/Project/x86_64-apple-macos.swiftsourceinfo +0 -0
  28. package/desktop_sdk_macos.framework/Versions/Current/Modules/desktop_sdk_macos.swiftmodule/arm64-apple-macos.abi.json +587 -35
  29. package/desktop_sdk_macos.framework/Versions/Current/Modules/desktop_sdk_macos.swiftmodule/arm64-apple-macos.private.swiftinterface +17 -0
  30. package/desktop_sdk_macos.framework/Versions/Current/Modules/desktop_sdk_macos.swiftmodule/arm64-apple-macos.swiftinterface +17 -0
  31. package/desktop_sdk_macos.framework/Versions/Current/Modules/desktop_sdk_macos.swiftmodule/arm64-apple-macos.swiftmodule +0 -0
  32. package/desktop_sdk_macos.framework/Versions/Current/Modules/desktop_sdk_macos.swiftmodule/x86_64-apple-macos.abi.json +587 -35
  33. package/desktop_sdk_macos.framework/Versions/Current/Modules/desktop_sdk_macos.swiftmodule/x86_64-apple-macos.private.swiftinterface +17 -0
  34. package/desktop_sdk_macos.framework/Versions/Current/Modules/desktop_sdk_macos.swiftmodule/x86_64-apple-macos.swiftinterface +17 -0
  35. package/desktop_sdk_macos.framework/Versions/Current/Modules/desktop_sdk_macos.swiftmodule/x86_64-apple-macos.swiftmodule +0 -0
  36. package/desktop_sdk_macos.framework/Versions/Current/desktop_sdk_macos +0 -0
  37. package/desktop_sdk_macos.framework/desktop_sdk_macos +0 -0
  38. package/index.d.ts +5 -0
  39. package/index.js +8 -1
  40. package/package.json +6 -3
  41. package/src/RecallAiDesktopSdk.h +4 -1
  42. package/src/main.cc +82 -31
@@ -49,6 +49,9 @@ extension desktop_sdk_macos.ScreenShareFrame : Swift.Equatable {
49
49
  public protocol AudioDeviceAudioDelegate {
50
50
  func handleDeviceAudioBuffer(sampleBuffer: AVFAudio.AVAudioPCMBuffer)
51
51
  }
52
+ public struct RecallAiSdkEvent {
53
+ public func serialize() -> Swift.String
54
+ }
52
55
  public struct Meeting : Swift.CustomDebugStringConvertible, Swift.Equatable {
53
56
  public var title: Swift.String?
54
57
  public var meetingId: Swift.String?
@@ -83,11 +86,13 @@ public struct MeetingParticipant : Swift.CustomDebugStringConvertible, Swift.Equ
83
86
  public class RecallAiDesktopSdk {
84
87
  public init(config: desktop_sdk_macos.RecallAiDesktopSdkConfig)
85
88
  public func toggle(enabled: Swift.Bool)
89
+ public func registerEventCallback(callback: @escaping (desktop_sdk_macos.RecallAiSdkEvent) -> Swift.Void)
86
90
  public func installCameraExtension(extensionBundleIdentifier: Swift.String)
87
91
  public func uninstallCameraExtension(extensionBundleIdentifier: Swift.String)
88
92
  @objc deinit
89
93
  }
90
94
  public protocol MeetingAppMediaCapturerDelegate {
95
+ func handleMixedVideoBuffer(sampleBuffer: CoreVideo.CVPixelBuffer, presTime: CoreMedia.CMTime)
91
96
  func handleVideoBuffer(frameId: Swift.Int, sampleBuffer: CoreVideo.CVPixelBuffer, presTime: CoreMedia.CMTime)
92
97
  func handleSpeakerAudioBuffer(sampleBuffer: AVFAudio.AVAudioPCMBuffer)
93
98
  }
@@ -105,8 +110,11 @@ public protocol MeetingAppMediaCapturerDelegate {
105
110
  public func RecallAiSdkInit(configJson: Swift.UnsafePointer<Swift.Int8>)
106
111
  @_cdecl("recallai_sdk_toggle")
107
112
  public func RecallAiSdkToggle(enabled: Swift.Bool)
113
+ @_cdecl("recallai_sdk_register_callback")
114
+ public func RecallAiSdkRegisterCallback(callback: Swift.UnsafeRawPointer, userData: Swift.UnsafeMutableRawPointer)
108
115
  public struct UiElementSelector {
109
116
  public var title: Swift.String?
117
+ public var titleContains: Swift.String?
110
118
  public var desc: Swift.String?
111
119
  public var descContains: Swift.String?
112
120
  public var label: Swift.String?
@@ -168,6 +176,7 @@ extension ApplicationServices.AXUIElement {
168
176
  }
169
177
  public func getAttribute<T>(attribute: Swift.String) -> T?
170
178
  public func getFrameRelativeTo(root: ApplicationServices.AXUIElement) -> CoreFoundation.CGRect?
179
+ public func getProportionalFrameRelativeTo(root: ApplicationServices.AXUIElement) -> CoreFoundation.CGRect?
171
180
  public func getCGWindowId() -> CoreGraphics.CGWindowID?
172
181
  public func click()
173
182
  }
@@ -187,6 +196,7 @@ public class ZoomMeetingRecorder : desktop_sdk_macos.MeetingAppMediaCapturerDele
187
196
  public func start()
188
197
  public func updateMainWindows(windows: [ApplicationServices.AXUIElement])
189
198
  public func end()
199
+ public func handleMixedVideoBuffer(sampleBuffer: CoreVideo.CVPixelBuffer, presTime: CoreMedia.CMTime)
190
200
  public func handleVideoBuffer(frameId: Swift.Int, sampleBuffer: CoreVideo.CVPixelBuffer, presTime: CoreMedia.CMTime)
191
201
  public func handleScreenBuffer(sampleBuffer: CoreVideo.CVPixelBuffer, presTime: CoreMedia.CMTime)
192
202
  public func handleDeviceAudioBuffer(sampleBuffer: AVFAudio.AVAudioPCMBuffer)
@@ -194,6 +204,11 @@ public class ZoomMeetingRecorder : desktop_sdk_macos.MeetingAppMediaCapturerDele
194
204
  public func handleActiveSpeakerChange(streamId: Swift.Int?)
195
205
  @objc deinit
196
206
  }
207
+ public struct MixedVideoRect : Swift.Codable, Swift.Equatable {
208
+ public static func == (a: desktop_sdk_macos.MixedVideoRect, b: desktop_sdk_macos.MixedVideoRect) -> Swift.Bool
209
+ public func encode(to encoder: Swift.Encoder) throws
210
+ public init(from decoder: Swift.Decoder) throws
211
+ }
197
212
  public class MeetingRecorder {
198
213
  public init(config: desktop_sdk_macos.RecallAiDesktopSdkConfig)
199
214
  public func start(title: Swift.String, meetingId: Swift.String?, platform: Swift.String)
@@ -208,6 +223,8 @@ public class MeetingRecorder {
208
223
  public func screenShareStarted()
209
224
  public func screenShareStopped()
210
225
  public func handleActiveSpeakerChange(participantId: Swift.Int?)
226
+ public func setMixedVideoRects(rects: [desktop_sdk_macos.MixedVideoRect])
227
+ public func handleMixedVideoBuffer(buffer: CoreVideo.CVPixelBuffer, presTime: CoreMedia.CMTime)
211
228
  public func handleVideoBuffer(participantId: Swift.Int, buffer: CoreVideo.CVPixelBuffer, presTime: CoreMedia.CMTime)
212
229
  public func handleScreenBuffer(buffer: CoreVideo.CVPixelBuffer, presTime: CoreMedia.CMTime)
213
230
  public func handleAudioBuffer(streamId: Swift.Int, buffer: AVFAudio.AVAudioPCMBuffer)
@@ -49,6 +49,9 @@ extension desktop_sdk_macos.ScreenShareFrame : Swift.Equatable {
49
49
  public protocol AudioDeviceAudioDelegate {
50
50
  func handleDeviceAudioBuffer(sampleBuffer: AVFAudio.AVAudioPCMBuffer)
51
51
  }
52
+ public struct RecallAiSdkEvent {
53
+ public func serialize() -> Swift.String
54
+ }
52
55
  public struct Meeting : Swift.CustomDebugStringConvertible, Swift.Equatable {
53
56
  public var title: Swift.String?
54
57
  public var meetingId: Swift.String?
@@ -83,11 +86,13 @@ public struct MeetingParticipant : Swift.CustomDebugStringConvertible, Swift.Equ
83
86
  public class RecallAiDesktopSdk {
84
87
  public init(config: desktop_sdk_macos.RecallAiDesktopSdkConfig)
85
88
  public func toggle(enabled: Swift.Bool)
89
+ public func registerEventCallback(callback: @escaping (desktop_sdk_macos.RecallAiSdkEvent) -> Swift.Void)
86
90
  public func installCameraExtension(extensionBundleIdentifier: Swift.String)
87
91
  public func uninstallCameraExtension(extensionBundleIdentifier: Swift.String)
88
92
  @objc deinit
89
93
  }
90
94
  public protocol MeetingAppMediaCapturerDelegate {
95
+ func handleMixedVideoBuffer(sampleBuffer: CoreVideo.CVPixelBuffer, presTime: CoreMedia.CMTime)
91
96
  func handleVideoBuffer(frameId: Swift.Int, sampleBuffer: CoreVideo.CVPixelBuffer, presTime: CoreMedia.CMTime)
92
97
  func handleSpeakerAudioBuffer(sampleBuffer: AVFAudio.AVAudioPCMBuffer)
93
98
  }
@@ -105,8 +110,11 @@ public protocol MeetingAppMediaCapturerDelegate {
105
110
  public func RecallAiSdkInit(configJson: Swift.UnsafePointer<Swift.Int8>)
106
111
  @_cdecl("recallai_sdk_toggle")
107
112
  public func RecallAiSdkToggle(enabled: Swift.Bool)
113
+ @_cdecl("recallai_sdk_register_callback")
114
+ public func RecallAiSdkRegisterCallback(callback: Swift.UnsafeRawPointer, userData: Swift.UnsafeMutableRawPointer)
108
115
  public struct UiElementSelector {
109
116
  public var title: Swift.String?
117
+ public var titleContains: Swift.String?
110
118
  public var desc: Swift.String?
111
119
  public var descContains: Swift.String?
112
120
  public var label: Swift.String?
@@ -168,6 +176,7 @@ extension ApplicationServices.AXUIElement {
168
176
  }
169
177
  public func getAttribute<T>(attribute: Swift.String) -> T?
170
178
  public func getFrameRelativeTo(root: ApplicationServices.AXUIElement) -> CoreFoundation.CGRect?
179
+ public func getProportionalFrameRelativeTo(root: ApplicationServices.AXUIElement) -> CoreFoundation.CGRect?
171
180
  public func getCGWindowId() -> CoreGraphics.CGWindowID?
172
181
  public func click()
173
182
  }
@@ -187,6 +196,7 @@ public class ZoomMeetingRecorder : desktop_sdk_macos.MeetingAppMediaCapturerDele
187
196
  public func start()
188
197
  public func updateMainWindows(windows: [ApplicationServices.AXUIElement])
189
198
  public func end()
199
+ public func handleMixedVideoBuffer(sampleBuffer: CoreVideo.CVPixelBuffer, presTime: CoreMedia.CMTime)
190
200
  public func handleVideoBuffer(frameId: Swift.Int, sampleBuffer: CoreVideo.CVPixelBuffer, presTime: CoreMedia.CMTime)
191
201
  public func handleScreenBuffer(sampleBuffer: CoreVideo.CVPixelBuffer, presTime: CoreMedia.CMTime)
192
202
  public func handleDeviceAudioBuffer(sampleBuffer: AVFAudio.AVAudioPCMBuffer)
@@ -194,6 +204,11 @@ public class ZoomMeetingRecorder : desktop_sdk_macos.MeetingAppMediaCapturerDele
194
204
  public func handleActiveSpeakerChange(streamId: Swift.Int?)
195
205
  @objc deinit
196
206
  }
207
+ public struct MixedVideoRect : Swift.Codable, Swift.Equatable {
208
+ public static func == (a: desktop_sdk_macos.MixedVideoRect, b: desktop_sdk_macos.MixedVideoRect) -> Swift.Bool
209
+ public func encode(to encoder: Swift.Encoder) throws
210
+ public init(from decoder: Swift.Decoder) throws
211
+ }
197
212
  public class MeetingRecorder {
198
213
  public init(config: desktop_sdk_macos.RecallAiDesktopSdkConfig)
199
214
  public func start(title: Swift.String, meetingId: Swift.String?, platform: Swift.String)
@@ -208,6 +223,8 @@ public class MeetingRecorder {
208
223
  public func screenShareStarted()
209
224
  public func screenShareStopped()
210
225
  public func handleActiveSpeakerChange(participantId: Swift.Int?)
226
+ public func setMixedVideoRects(rects: [desktop_sdk_macos.MixedVideoRect])
227
+ public func handleMixedVideoBuffer(buffer: CoreVideo.CVPixelBuffer, presTime: CoreMedia.CMTime)
211
228
  public func handleVideoBuffer(participantId: Swift.Int, buffer: CoreVideo.CVPixelBuffer, presTime: CoreMedia.CMTime)
212
229
  public func handleScreenBuffer(buffer: CoreVideo.CVPixelBuffer, presTime: CoreMedia.CMTime)
213
230
  public func handleAudioBuffer(streamId: Swift.Int, buffer: AVFAudio.AVAudioPCMBuffer)