Portable, fast camera capture library for node.js (server). TypeScript/JavaScript easy to use APIs. Uses puppeteer headless browser to capture webcam video (audio/desktop, recording, etc) and stream back to node.js frame by frame in plain image data for optimal speed or optionally encoded as jpeg, png, bmp, etc
MIT License
32
stars
8
forks
source link
Error: Chromium revision is not downloaded. Run "npm install" or "yarn install" #9
(node:14591) UnhandledPromiseRejectionWarning: Error: Chromium revision is not downloaded. Run "npm install" or "yarn install"
at Launcher.launch (/Users/roberto/Desktop/cs/dist/webpack:/node_modules/puppeteer/lib/Launcher.js:119:1)
at VideoCapture.initialize (/Users/roberto/Desktop/cs/dist/webpack:/node_modules/camera-capture/dist/src/captureBase.js:46:1)
at VideoCapture.initialize (/Users/roberto/Desktop/cs/dist/webpack:/node_modules/camera-capture/dist/src/capture.js:99:1)
at Timeout._onTimeout (/Users/roberto/Desktop/cs/dist/webpack:/src/components/loginWindow.ts:27:7)
(node:14591) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:14591) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
VERSION