Raspberry Pi NOIR camera module
https://www.amazon.com/Raspberry-Camera-Module-Infrared-Vision/dp/B09JFLYS5Y
3 or more x Female-to-female jumper leads
https://www.amazon.com/Premium-Breadboard-Jumper-100-Pack-Hellotronics/dp/B07GJDJ96Z
Some 220 Ohm 1% Resistors
https://www.amazon.com/Resistor-Tolerance-Resistors-Limiting-Certificated/dp/B08QR1STQC
Some Infrared LEDs (5mm 890nm)
https://www.ebay.com/itm/222907671794?hash=item33e65524f2:g:C0EAAOSwnVZawf-a
Alternatively, you might be able to get away with a webcam, something like the Wyze Cam v2/v3 with local storage, and do the YouTube uploading on a separate computer. Most such webcams have infrared LED's integrated.