Turn your USB cam to an IP cam
I had a logitech camera that I dont use , so I turned it into a network IP camera using go2rtc.
Here is the docker compose file I used
Docker Compose
services:
go2rtc:
image: alexxit/go2rtc:latest
container_name: tsg_go2rtc
restart: unless-stopped
ports:
- 1984:1984
- 8554:8554
- 8555:8555/tcp
- 8555:8555/udp
devices:
- /dev/video0:/dev/video0
volumes:
- ./config:/config
environment:
TZ: Asia/Dubai
and my go2rtc.yaml:
api:
username: admin
password: your-password
rtsp:
username: admin
password: your-password
I wrote the whole step by step here . Hopefully this will help someone. - I can not post the link here because it keeps tagging me as spam :-(
Credit to u/krispucci for the idea. He asked if QUSBCam still works- this was a great utility QNAP had for turning USB webcams into IP cameras, so I decided to recreate it using go2rtc.
.