roflcoopter / viseron

Self-hosted, local only NVR and AI Computer Vision software. With features such as object detection, motion detection, face recognition and more, it gives you the power to keep an eye on your home, office or any other place you want to monitor.
MIT License
1.51k stars 155 forks source link

Viseron doesn't save the last recording when camera is unplugged unless you plug the same camera in again. #651

Open ORIOLESFan02 opened 11 months ago

ORIOLESFan02 commented 11 months ago

I have a PoE camera and we took it down for some reasons I don't want to get into. I have viseron running on a machine so it can record events and such, but I found out that if you unplug the camera, the motion it was currently detecting won't save unless you plug in the same camera again.

Meaning that if someone were to steal the camera, I wouldn't have that footage of the person unplugging the camera.

I understand that it wouldn't work if the main machine lost power too, but the main machine was on and running when the camera was unplugged, just don't understand why it didn't save the recording until I plugged the camera in again. I'd consider that a major issue if someone were to steal it and you don't have the footage of them unplugging it to use to possibly report to the police or whatever, so I thought I would just submit an issue.

roflcoopter commented 10 months ago

If Viseron loses connection to a camera with an active recording it should finish the recording and attempt reconnection. It does not wait for the camera to get back online.

If you could provide some logs of the issue I can probably track it down.

ORIOLESFan02 commented 10 months ago

If Viseron loses connection to a camera with an active recording it should finish the recording and attempt reconnection. It does not wait for the camera to get back online.

If you could provide some logs of the issue I can probably track it down.

Unfortunately I don't have any logs as I stopped using the software. My apologies. I didn't think about getting logs before removing the software.