EliasKotlyar / Xiaomi-Dafang-Hacks

4.16k stars 1k forks source link

ONVIF not starting #1887

Open chross opened 4 months ago

chross commented 4 months ago

Kernel Version: | #21 PREEMPT Thu Oct 19 11:38:16 CST 2017 Bootloader Version: | U-Boot 2013.07 (Jul 28 2017 - 17:10:01) Xiaomi DaFang DF3-00133483

I am using the lastest build, downloaded today.

Description

ONVIF Server won't respond although it shows up in process list. 13773 root 0:00 /system/sdcard/bin/onvif_srvd --pid_file /var/run/onvif_srvd.pid --ifs wlan0

What did you do to debug the issue

Tried to restart the device and also the onvif server

chross commented 4 months ago

Update: the onvif server seems to be running and is actively started/stopped when issuing commands via http:

For example, the following GET request will produce a response stating the onvif server is stopped then started again: /cgi-bin/ui_live.cgi?cmd=motor&move=down

Stopping onvif_srvd... onvif_srvd stopped x: 0 y: 0 speed: 900 Starting onvif_srvd... onvif_srvd started