QuantumEntangledAndy / neolink

An RTSP bridge to Reolink IP cameras
GNU Affero General Public License v3.0
247 stars 39 forks source link

fix timed out waiting for camera ping #243

Closed si458 closed 2 months ago

si458 commented 2 months ago

Fixes https://github.com/QuantumEntangledAndy/neolink/issues/186 https://github.com/QuantumEntangledAndy/neolink/issues/204 and maybe a few others!

basically missed_pings was always 0 and never counting up because it was checking if it was MORE than 5 rather than LESS than 5

QuantumEntangledAndy commented 2 months ago

Ah nice catch

si458 commented 2 months ago

We all live and learn and even I've made a few mistakes!