I installed webcamd from the master.zip file on Rocky Linux 8.8 system.
My usb cam from lsusb: Bus 001 Device 002: ID 1bcf:28c4 Sunplus Innovation Technology Inc.
"v4l2-ctl --list-devices" shows:
1080P Webcam: 1080P Webcam (usb-0000:00:15.0-2):
/dev/video0
/dev/video1
The stream is working, I have it embedded in an Octoprint setup. I do see these exceptions popping up in /var/log/messages. At first I thought it was anytime I switched over to the browser tab where octoprint has the stream showing, but it seems more random now.
Nov 19 05:41:44 rocky webcamd[301193]: Exception occurred during processing of request from ('10.10.10.1', 52522)
Nov 19 05:41:44 rocky webcamd[301193]: Traceback (most recent call last):
Nov 19 05:41:44 rocky webcamd[301193]: File "/usr/local/lib/python3.9/site-packages/webcamd/main.py", line 30, in do_GET
Nov 19 05:41:44 rocky webcamd[301193]: self.wfile.write(b'--jpgboundary\n')
Nov 19 05:41:44 rocky webcamd[301193]: File "/usr/lib64/python3.9/socketserver.py", line 826, in write
Nov 19 05:41:44 rocky webcamd[301193]: self._sock.sendall(b)
Nov 19 05:41:44 rocky webcamd[301193]: BrokenPipeError: [Errno 32] Broken pipe
Nov 19 05:41:44 rocky webcamd[301193]: During handling of the above exception, another exception occurred:
Nov 19 05:41:44 rocky webcamd[301193]: Traceback (most recent call last):
Nov 19 05:41:44 rocky webcamd[301193]: File "/usr/lib64/python3.9/socketserver.py", line 683, in process_request_thread
Nov 19 05:41:44 rocky webcamd[301193]: self.finish_request(request, client_address)
Nov 19 05:41:44 rocky webcamd[301193]: File "/usr/lib64/python3.9/socketserver.py", line 360, in finish_request
Nov 19 05:41:44 rocky webcamd[301193]: self.RequestHandlerClass(request, client_address, self)
Nov 19 05:41:44 rocky webcamd[301193]: File "/usr/lib64/python3.9/socketserver.py", line 747, in init
Nov 19 05:41:44 rocky webcamd[301193]: self.handle()
Nov 19 05:41:44 rocky webcamd[301193]: File "/usr/lib64/python3.9/http/server.py", line 433, in handle
Nov 19 05:41:44 rocky webcamd[301193]: self.handle_one_request()
Nov 19 05:41:44 rocky webcamd[301193]: File "/usr/lib64/python3.9/http/server.py", line 421, in handle_one_request
Nov 19 05:41:44 rocky webcamd[301193]: method()
Nov 19 05:41:44 rocky webcamd[301193]: File "/usr/local/lib/python3.9/site-packages/webcamd/main.py", line 36, in do_GET
Nov 19 05:41:44 rocky webcamd[301193]: except KeyboardInterrupt | BrokenPipeError:
Nov 19 05:41:44 rocky webcamd[301193]: TypeError: unsupported operand type(s) for |: 'type' and 'type'
Nov 19 05:41:44 rocky webcamd[301193]: ----------------------------------------
I installed webcamd from the master.zip file on Rocky Linux 8.8 system.
My usb cam from lsusb: Bus 001 Device 002: ID 1bcf:28c4 Sunplus Innovation Technology Inc. "v4l2-ctl --list-devices" shows: 1080P Webcam: 1080P Webcam (usb-0000:00:15.0-2): /dev/video0 /dev/video1
The stream is working, I have it embedded in an Octoprint setup. I do see these exceptions popping up in /var/log/messages. At first I thought it was anytime I switched over to the browser tab where octoprint has the stream showing, but it seems more random now.
Nov 19 05:41:44 rocky webcamd[301193]: Exception occurred during processing of request from ('10.10.10.1', 52522) Nov 19 05:41:44 rocky webcamd[301193]: Traceback (most recent call last): Nov 19 05:41:44 rocky webcamd[301193]: File "/usr/local/lib/python3.9/site-packages/webcamd/main.py", line 30, in do_GET Nov 19 05:41:44 rocky webcamd[301193]: self.wfile.write(b'--jpgboundary\n') Nov 19 05:41:44 rocky webcamd[301193]: File "/usr/lib64/python3.9/socketserver.py", line 826, in write Nov 19 05:41:44 rocky webcamd[301193]: self._sock.sendall(b) Nov 19 05:41:44 rocky webcamd[301193]: BrokenPipeError: [Errno 32] Broken pipe Nov 19 05:41:44 rocky webcamd[301193]: During handling of the above exception, another exception occurred: Nov 19 05:41:44 rocky webcamd[301193]: Traceback (most recent call last): Nov 19 05:41:44 rocky webcamd[301193]: File "/usr/lib64/python3.9/socketserver.py", line 683, in process_request_thread Nov 19 05:41:44 rocky webcamd[301193]: self.finish_request(request, client_address) Nov 19 05:41:44 rocky webcamd[301193]: File "/usr/lib64/python3.9/socketserver.py", line 360, in finish_request Nov 19 05:41:44 rocky webcamd[301193]: self.RequestHandlerClass(request, client_address, self) Nov 19 05:41:44 rocky webcamd[301193]: File "/usr/lib64/python3.9/socketserver.py", line 747, in init Nov 19 05:41:44 rocky webcamd[301193]: self.handle() Nov 19 05:41:44 rocky webcamd[301193]: File "/usr/lib64/python3.9/http/server.py", line 433, in handle Nov 19 05:41:44 rocky webcamd[301193]: self.handle_one_request() Nov 19 05:41:44 rocky webcamd[301193]: File "/usr/lib64/python3.9/http/server.py", line 421, in handle_one_request Nov 19 05:41:44 rocky webcamd[301193]: method() Nov 19 05:41:44 rocky webcamd[301193]: File "/usr/local/lib/python3.9/site-packages/webcamd/main.py", line 36, in do_GET Nov 19 05:41:44 rocky webcamd[301193]: except KeyboardInterrupt | BrokenPipeError: Nov 19 05:41:44 rocky webcamd[301193]: TypeError: unsupported operand type(s) for |: 'type' and 'type' Nov 19 05:41:44 rocky webcamd[301193]: ----------------------------------------