keshavdv / unifi-cam-proxy

Enable non-Ubiquiti cameras to work with Unifi NVR
MIT License
1.65k stars 230 forks source link

after few seconds stream freeze #131

Closed jurajs5 closed 2 years ago

jurajs5 commented 2 years ago

i am currently testing 2 cameras,

after few seconds, both cameras (not in same time) stop to update screen. After going from overview to specifics camera, stream is there again, but same issue happens again and again.

keshavdv commented 2 years ago

Are you using any custom --ffmpeg-args at the moment?

jurajs5 commented 2 years ago

No at all, just basic config

jurajs5 commented 2 years ago

this is what i have unifi-cam-proxy --host 192.168.X.Y --cert client.pem --token ABC --mac 'XY' --name “TEST2” --model 'UVC G4 Bullet' rtsp -s rtsp://login:pass@192.168.X.Y:554/Streaming/Channels/101/

same for other one, just diff IP

jurajs5 commented 2 years ago

Here is video what is happening. Big one and upper right are test cameras added by proxy. Lower right is native unifi camera. If you check time - you see its stopping after few seconds.

https://youtu.be/7Eob7UzWzzM

nkfs commented 2 years ago

I have the same problem, the stream stops flowing and the container needs to be restarted. All other cameras on unifi video work fine. Let me know if I can help debug or produce logs.

NotShocked commented 2 years ago

I am having the same problem, and from the looks of the string you have there, I also have the same (or very similar) camera system. Sometimes it never updates more than what seems to be about one frame after starting the proxy. Then randomly it updates for a few moments at most.

GekoCH commented 2 years ago

same here, do you use a NVR as a docker or use A UNIFI Dream Machine Pro or any other NVR?

GekoCH commented 2 years ago

sorry found my problem. The issue is with UNIFI Protect on the WEB. If I use the APP for Android I have a live view etc!

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.