Infrared, the little red LEDs that allow the camera to see at night
So it’s likely the cable, or connections corroded. I would first test the camera on a short cable near the NVR and see if it still does it.
Then if it does, spray the contacts with Deoxit