Streams, records video, and takes a picture with Picamera2 using a Raspi Compute Module 4 with a Waveshare CM4-Nano-C noir camera base board.
This has only been tested on RaspberryPi OS legacy Bullseye using a 4gb wireless no-emmc Raspi Compute Module 4.
It should work on any model Pi Running RaspberryPi OS legacy Bullseye with a Picamera2 compatible camera.
3d printed case link and creator Metatron22
For the case, I had to cut off the bit that sticks out on the bottom half because it interfered with the wireless antennae. I also had to use screws to screw the two halves together because my pla print did not clip well.