client
client copied to clipboard
Error accessing Logitech C930e webcam
(Please tell us what you were doing when this happened.) Exception information: TypeError: invalid arguments - Line 67
I am trying to remotely view my webcams. Even though at sometimes things seem to work, quite often though trying to view Logitech C930e camera (which is the only real webcam I tried - others are non-webcam sources), I hit random errors like the one being reported now.
Also, nevertheless the error I see that the camera is still in use while I am typing the text now and not seeing any video feed. I also see that CPU is idling so Ulterius seems to hold a reference to camera internally without actually doing any video processing.
When I log in from browser to Ulterius server again, trying to start video feed I get a similar error once and webcam light shows the camera have been in use all this time, but another attempt in a row starts a live feed. All in all, the video is about to work but same time when problems come up it is not even clear what is the state: no video, the camera is still in use, further attempts to access the feed however have chances to bring things back to life.
I will leave it as a comment, even though it should perhaps be separated and re-thought. The camera streaming is cool, but the daemon seems to be doing nonsense work:
- it does so many excessive DirectShow API operations like initialization of filter graph with further dropping it
- it adds grabber_snapshot filter which looks like not used
- I realize there is no setup for the webcam and it's sort of automatic; daemon captures in 640x480 MJPG then uses (implicitly) slow legacy JPEG decoder in order to grab 24-bit RGB frames. Presumably, you compress that back in JPEG again. This definitely has space for improvement.
A good note though, daemon seems to be correctly working with http://alax.info/blog/1553 virtual signal source.