BrandonJoffe / home_surveillance

Home surveillance system with facial recognition
1.22k stars 384 forks source link

using an iphone as camera #30

Closed mathieuduperre closed 7 years ago

mathieuduperre commented 7 years ago

if you want to use an iphone as your ip camera, download the free app called "liveReporter". add the camera to your project (don't check the fps tweak box) and voila. you may have to do port forwarding if on your local wifi.

kumarneeraj2005 commented 7 years ago

LiveReporte is not working as stream camera

mathieuduperre commented 7 years ago

it does. make sure your firewall is open. if you are on LTE it may not work as your service provider may block some port.

kumarneeraj2005 commented 7 years ago

i am not able to play rtsp://192.112.X.X in VLC player please guide me how defuse it.

mathieuduperre commented 7 years ago

ok here's what you'll do:

-take your phone and put it on your wifi network at home -take a laptop and put it on the same wifi network -open livereporter in your phone, note the url in the screen, the port and the name of the file (i.e. title.sdp) -open vlc in the laptop -in vlc, click media->open network stream, and type what you got in livereporter (i.e. rtsp://192.168.1.2:554/title.sdp) -click play, you should have your feed.

if your server is running outside of your network, you will probably have to do port forwarding from your phone/tablet to your server.

kumarneeraj2005 commented 7 years ago

Thanks for your quick reply :-) I did same as you mentioned above, but its showing following error

Your input can't be opened: VLC is unable to open the MRL 'rtsp://192.168.0.4:554/title.sdp'. Check the log for details.

mathieuduperre commented 7 years ago

try disabling the firewall in your laptop.

kumarneeraj2005 commented 7 years ago

My Firewall is by default off, still no luck 👍

mathieuduperre commented 7 years ago

ok well not much i can do to help i'm afraid. in live reporter setting, check under network tab. mine is set to TCP. maybe taht will help.

kumarneeraj2005 commented 7 years ago

Thanks for all your help :-) i really appreciate you. I will try different options and let you know if it will work.