miguelangel-nubla / videoP2Proxy

Proxy to enable P2P only cameras to work with standard protocols.
MIT License
171 stars 47 forks source link

"IMI Smart Camera" not working ("model":"chuangmi.camera.ipc013d") #19

Open kovaga opened 4 years ago

kovaga commented 4 years ago

Hi there,

video2rtsp is not working, can't connect to the camera. Not sure if Videop2proxy would work with H265 camera, but it seems it is not even able to initiate connection via miio

The data from the android log file.

{"did":"309XXXXXX" "token":"476169357577555331394166XXXXXXXX" "longitude":"0.00000000" "latitude":"0.00000000" "name":"Video camera" "pid":"0" "localip":"192.168.XX.XX" "mac":"5C:E5:0C:XX:XX:XX" "ssid":"XXXXX" "bssid":"02:9F:C2:XX:XX:XX" "parent_id":"" "parent_model":"" "show_mode":1 "model":"chuangmi.camera.ipc013d" "adminFlag":1 "shareFlag":0 "permitLevel":16 "isOnline":true "desc":"Device online " "extra":{"isSetPincode":0 "fw_version":"13d.3.4.6_0083" "needVerifyCode":0 "isPasswordEncrypt":0} "uid":6161XXXXXX "pd_id":65XXX "password":"" "p2p_id":"" "rssi":-51 "family_id":0 "reset_flag":0}

Command output ./videop2proxy --ip=192.168.X.XX --token=476169357577555331394166XXXXXXXX --rtsp 8554 [9:58:51] Starting proxy... Starting RTSP server on "rtsp://192.168.XX.XX:8554/" (Using port 80 for optional RTSP-over-HTTP tunneling.)

Got error when receiving: timed out Traceback (most recent call last): File "/root/.local/lib/python3.6/site-packages/miio/device.py", line 259, in send data, addr = s.recvfrom(1024) socket.timeout: timed out