-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
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()
})
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels