Streampunk / macadam

Async node.js interface to Blackmagic Design capture and playback devices.
Apache License 2.0
107 stars 24 forks source link

Trying to perform a macadam operation without having Desktop Video installed causes SIGSEGV #24

Closed florisporro closed 3 years ago

florisporro commented 4 years ago

To reproduce:

Uninstall Desktop Video from machine and run the following code:

const macadam = require("macadam")
console(macadam.deckLinkVersion())

This will cause a crash with no error message or stacktrace.

It would be better to check for the availability of Desktop Video, and cause error if it is not present. That will allow better error messages for users.