You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to recreate a webcam after it's been disconnected, and reconnected. When I do that, an error is thrown:
com.github.sarxos.webcam.WebcamLockException: Webcam HD USB Camera: HD USB Camera /dev/video0 has already been locked
The source says I need to reinstantiate, so what is the proper way to do that?
Completely dispose capture device. After this operation webcam cannot be used any more and
full reinstantiation is required.
protected void dispose() {
The text was updated successfully, but these errors were encountered:
I need to recreate a webcam after it's been disconnected, and reconnected. When I do that, an error is thrown:
The source says I need to reinstantiate, so what is the proper way to do that?
The text was updated successfully, but these errors were encountered: