Consider MotionEyeOS. Once installed, any usb camera connected will automatically be detected and connected.
It has streaming and even motion detection.
Thanks for reply!
I've never heard of this project before, really interesting.
I could see it is basically another separate Linux Distribution.
If you are planning to use your Raspberry Pi as a camera only - definitely a go 👍
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.