Friday, January 2, 2015

How to stream live feed from your security camera to your smart phone?

In order to stream live content from your security camera to your smart phone, you need to know your IP address, the model of your camera, and configure your router to allow you to access your camera remotely.
I am assuming that you have basic networking knowledge and have everything working already so I will only talk about configuring your router so that you can access your camera remotely.

Each camera you have will have a unique internal IP address assigned to it.
Since it is an internal IP address, most IP address will start with 192.168.*.*.

You cannot access the camera from the internet  using these internal IP addresses.
These IP addresses are valid only from within your private wireless or wire network.

In order to access your camera from the outside, you need to access the IP address assigned to your cable modem by your internet service provider.
Assuming that this IP address is 24.145.239.234, you will  have to access all your cameras inside your network using this IP address. Even though you access all the cameras using the same IP address, the port number will be different for each camera.

The first thing you need to do is to assign a static IP address for each camera inside your network. This will prevent the IP address of the camera from changing when you reboot the device or the router. Here is an example on how it would look like:




If you have Netgear router, then you can just go the same place shown in the screenshot to assign static IP address to your device. If you have a different router, you can go to similar pages or settings.

Once you have assigned static IP addresses to your devices, you will need to assign a unique external port number to each device. Remember we have to access all the devices using the same unique IP address assigned to you from your ISP; therefore, the only way to distinguish each device is through the port number you assigned to each device. This is concept is called port forwarding.


As you can see from the above screenshot, the port numbers listed in the external start port column are the ones we will use to associate with each camera inside our internal network from the outside. Please check the relationship between this screenshot and the one above it.
After you have done all the steps correctly, you should be able to access one of your camera from the browser via this URL:

http://24.145.239.234:8000

What happens is the request will come to your router first, then it will forward the request using the port number to the appropriate camera inside your network. Notice the external port number is associated with an internal IP address.

You are set. Now the same information can be used to configure a smart phone app so that you can view live content of your camera from any smartphones.
IP Cam Viewer is an IOS app that you can use for iPhone. Similar Android apps can be found for your Android devices as well.


No comments: