Description
In the Electron SDK demo, many API functions are available in the control window (inmeeting.html), but recording is not one of them. I looked at the demo code, the SDK reference, and its code, and came up with:
let zoomrecord = zoommeeting.GetMeetingRecording();
and
startRecording: function() {
let opts = {
recPath: ‘testPath.mp4’
}
zoomrecord.startRecording(opts)
}
The startRecording function is called through an ipcRenderer message, same as all functions in the demo. However, when I try to start the app, I get the error:
TypeError: clientOpts.addon.GetMeetingRecordingCtrl is not a function
at init (D:\Some\Path\zoom-sdk-electron\lib\zoom_meeting_recording.js:20:35)
at Object.getInstance (D:\Some\Path\zoom-sdk-electron\lib\zoom_meeting_recording.js:271:20)
at Object.GetMeetingRecording (D:\Some\Path\zoom-sdk-electron\lib\zoom_meeting.js:394:81)
at sdkauthCB (D:\Some\Path\zoom-sdk-electron\demo\main.js:79:27)
at onAuthenticationReturn (D:\Some\Path\zoom-sdk-electron\lib\zoom_auth.js:36:9)
This is clearly referring to this line.
It seems to me that GetMeetingRecordingCtrl is supposed to be defined by the node_addon code, so I’m kinda stuck here. How can I proceed?