fritz-smh / yi-hack

Xiaomi Yi Ants camera hack
1.39k stars 337 forks source link

Include secure Curl #143

Closed utya1988 closed 7 years ago

utya1988 commented 7 years ago

Hello. A lot of thanks for this hack. I would like to how i can include secure curl in home file. O maybe you can make branch with this feature. Vey Thanks.

karepiu commented 7 years ago

Use this http://nemon.org/ipcam-ipr1631x/#SDK to compile curl from scratch. You will need also openssl. I can confirm that curl-7.53.1 and opessl-1.1.0e works fine. In 3 weeks I hope to branch fritz code adding curl, lighttpd, samba, smartthings capabilities.

utya1988 commented 7 years ago

@karepiu , maybe can you complie ffmpeg. I tried but failed.

karepiu commented 7 years ago

HI, compiled it with --enable-shared --disable-yasm. Have not tested it but should work. Working dit should be /tmp/ffmpeg. Good luck!

https://www.dropbox.com/s/6s009nfchafndbh/ffmpeg-3.2.4-arm.tar.gz?dl=0

utya1988 commented 7 years ago

@karepiu, thanks.

gl-lamhnguyen commented 7 years ago

@utya1988 did you solve the issue with secured curl? I kept getting ssl not supported in the current version

karepiu commented 7 years ago

Compile openssl first, then point compilator for curl to its dirs and it works like a charm.

gl-lamhnguyen commented 7 years ago

@karepiu thx for the info, I'm not really sure how to compile it? is there a binary somewhere I can download and copy it to the SD card?