Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on cam.stop(); #23

Open
N2481 opened this issue Oct 15, 2016 · 3 comments
Open

Error on cam.stop(); #23

N2481 opened this issue Oct 15, 2016 · 3 comments

Comments

@N2481
Copy link

N2481 commented Oct 15, 2016

I tried the capture-jpg.js example, the capture works well, but i have to comment the line cam.stop(), if not an error is thrown in my node.js app: TypeError: undefined is not a function. Thanks for any help.

@Chist777Porto
Copy link

I have the same issue

@huseyinkozan
Copy link

stop() expects a callback. Giving it a callback fixes.

@vicary
Copy link

vicary commented May 1, 2017

The callback should be optional.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants