Open josefhernandez opened 7 months ago
I'm trying to use the API from electron. When I try to capture a free I get this error
(node:1662201) UnhandledPromiseRejectionWarning: Error: In file ../src/capture_promise.cc on line 703, found error: External buffers are not allowed
The code to reproduce is simply:
macadam.capture({ deviceIndex: 1, displayMode: macadam.bmdModeHD1080p30, pixelFormat: macadam.bmdFormat8BitYUV, channels: 2, // enables audio - omit if audio is not required sampleRate: macadam.bmdAudioSampleRate48kHz, sampleType: macadam.bmdAudioSampleType16bitInteger }).then(function (c) { capture.frame() })
Hi Josef - this isn't a solution but im also trying to use this package in my election app. I am struggling to install the package though. Could I ask which version of node you are using? Thanks!
I'm trying to use the API from electron. When I try to capture a free I get this error
The code to reproduce is simply: