-
Notifications
You must be signed in to change notification settings - Fork 35
RTSP / HTTP Support for Mijia 360 #4
Comments
Hi, It is not currently available with this hack. Regards. |
Hi, Any development on this? Thanks. |
Hi niclet. Do you know if you could to work for RTSP someday? Thanks a lot in advanced |
I managed to get a RTSP server working on the Mijia 360 720p. Look at this threat maybe it will help you: |
@brtws, any way to share your work please ? Google Drive with à copy of your sd ? Or à repo with thé content. |
Sure! But there is not much to share. Ik just downloaded the SDK from the project I mentioned https://github.com/Filipowicz251/mijia-1080P-hacks/wiki GMLIB=../../../gm_lib ifeq ( uclibc=$(shell echo $(CROSS_COMPILE)|grep uclib) CC=$(CROSS_COMPILE)gcc LDFLAGS += -L$(GMLIB)/lib -lpthread -lm -lrt -lgm TARGETS := $(PROGS) .PHONY: $(TARGETS) all: $(TARGETS)
clean: Or do you need something else? btw did any of you guys made any progress on how to control the motors end ir leds from anything but the Xiaomi app? As far as I can see its been done from the miio_avstreamer process which also sets up the stream to Xiaomi. I tried to decompile the binary file but its very hard te read the decompiled code. |
@brtwrs thx for your input...i'm not confortable with crosscompile and other stuff like this. Having à .img from your sdcard will be perfect, but that à bit easy i understand. I just get my cam today , on looks how it Works. Rstp or http://ip/snap.img can be good as it was already do for the fang or ante One. |
@deennoo, just an image of my sdcard wont help you. You also need to change some init scripts on the cam itself and enable telnet to do so. Look at my comments here on how to do that: Filipowicz251/mijia-1080P-hacks#5 . If it helps, here is the compiled binary: https://bartwijers.stackstorage.com/s/1VdEqFz77VVcY9v FYI on my cam I've disabled the miio_avstreamer proces at startup so the cam doesn't move when rebooting and keeps its position. I still havent found a way to make the cam move and sadly dont have much time to do more research. Hope this helps |
Thx for your input, will try your way to do when i will have time |
@brtwrs i'm looking hard on your comment, but can't find a way to start telnet server, any advice on i_t please ? |
@deennoo You have to take the camera apart and look for the rx and tx pins. ( I didnt took a picture so I cant tell you exactly which one but its marked in the pcb) Connect a serial to usb cable to the rx, tx and ground on the camera and you will get a uboot console on your pc. You have to change the console variable (or something like that) in uBoot to make the output point to /dev/ttyS0 instead of /dev/null (make sure to save it) and reboot the camera. If all good you'll see a linux console and you can enable the telnet startup script (by removing the "_" from the name if I recall correctly). Now the telnet session will be active on your next reboot. I hope this helps you. Im sorry I dont have a more detailed description because I wrote this all from memory. Goodluck! |
@brtwrs |
That should work. When in the uboot cli:
now you should boot into a linux console |
Thanks a lot :) |
Check these projects: |
I also didnt find any infos about the JTSXJ01CM camera. I hope someday this will be hacked :) |
Hi Niclet,
Is it possible to stream the video of this device on a web browser / RTSP ?
Is there any way to build REST API to control this device over a HTTP instead of MI apps?
Thanks,
The text was updated successfully, but these errors were encountered: