lichen-community-systems / movementosc

Movement OSC detects body keypoints using Tensorflow.js' MoveNet models and sends data over OSC.
MIT License
2 stars 1 forks source link

Add additional error handling when video devices aren't able to be opened. #11

Open colinbdclark opened 1 month ago

colinbdclark commented 1 month ago

On Windows, it sounds like it may not be possible to share camera devices among multiple applications, so it's easier to get into a situation where MovementOSC can't successfully open the MediaStream. We should improve our error handling and report back to the user when a camera stream can't be opened.

colinbdclark commented 1 month ago

@amb26 reports that on his WIndows 10 computer, the DevTools console reports an uncaught DOMException:

"Uncaught DOMException: Could not start video source"