github alienatedsec/yi-hack-v5 0.4.2

one hour ago

New Release - I know, it has been a while ;)

  • I am a busy dad, so there is not much time I can contribute. However, AI helps with some automations and code testing, so if we can use it - why not? It still takes time, but not as much as it used to.

What's Changed

  • Use hostname to expose Onvif camera by @Minims in #369
  • wd_rtsp.sh: restart grabbers when an expected one is missing by @grzesiczek1 in #483
  • wd_rtsp.sh: make the locked rRTSPServer check work by @grzesiczek1 in #482
  • rRTSPServer: allow rebinding the RTSP port while old connections close by @grzesiczek1 in #484
  • check_update.sh: fix the retry counter so the loop ends offline by @grzesiczek1 in #486
  • Added theme selector icon and removed Reboot button from the toolbar by @osmolo in #479
  • rRTSPServer: don't cut large 1080p key frames by @grzesiczek1 in #487
  • rRTSPServer: keep the video when a TCP client can't keep up by @grzesiczek1 in #488
  • Wire the YI Dome PTZ preset buttons to their existing actions by @iibaranov-IG in #478
  • Added support for Asia/Jerusalem timezone in tz.html by @itayavra in #438

0.4.2 (part 1) — PR #491

  • Fixed a critical runtime bug - the ipc tools couldn't load libpthread.so.0 outside the boot environment, so web-UI buttons and mqtt config writes silently did nothing; fixed with boot-time /lib symlinks + rpath.
  • Full web-UI coverage - all 17 camera (subject to model) settings now exposed (8 previously firmware-only: AI detection, face, mic, motion tracking, cruise); new ipc_cmd -u PTZ-movement query.
  • live555 2023.01.19 → 2024.06.26 - memory-leak fix and MSG_NOSIGNAL, with a toolchain-compatibility shim for the old HiSilicon gcc; downloads are now sha256-verified.
  • Build hardening - rRTSPServer build fails loudly on patch errors; keyframe-detection offsets corrected for H.264/H.265 stream recovery; crontab overwrite bug fixed.
  • Housekeeping - mqttv4 only runs when MQTT is enabled; ONVIF now advertises the real hostname (upstream PR #369).

0.4.2 (part 2) - PR #492

  • #489 Watchdog performance by @grzesiczek1 - the RTSP watchdog spawned ~35 processes every 10s; it now reads /proc directly with shell builtins, cutting CPU load substantially and matching process names exactly.
  • #490 RTSP resilience by @grzesiczek1 - after an unrecoverable TCP media send failure, the whole client session is now torn down so clients reconnect, instead of getting audio-only with video stuck forever.
  • Settings persistence - saving camera settings now writes camera.conf, so the page remembers your choices across reloads (previously it only applied them live after new functions introduction).

New Contributors

Full Changelog: 0.4.1...0.4.2

Don't miss a new yi-hack-v5 release

NewReleases is sending notifications on new releases.