Jump to content
indianloveindia

How to embed live camera on website

Recommended Posts


That's easy to do and you can do it for free. I wrote an article on how to do this at http://www.networkcameracritic.com/?p=1290

 

Alternatively, BlueIris provides a streaming feature in their software and it's cheap, under $50 per server. If you want a more commercial solution, check out Wowsa, I believe it's under a grand for a single camera license.

 

Alternatively, you can use a streaming service. Depending on your tolerance for advertising, it can be free. Check ustream.tv as one such service.

Share this post


Link to post
Share on other sites

There are many other free methods which include being more secure ("Not exposing any DDNS/IP Address, Port or User credentials for the IP Camera in the webpage. Which could be abused by others") and being able to better throttle bandwidth. It's also easy to do this using one line of HTML as well. Here are live working demos and many different live working examples. That show many different ways, to go about this. In real-time:

 

http://foscam.us/forum/showing-secure-methods-using-php-to-display-your-ip-cameras-t8721.html#p42139

 

Notes:

 

While all the working live example demos above, are using Foscam IP Cameras. Most of the methods shown above, can by used with any IP Camera or imaging device that allows pulling snapshots using HTTP or HTTPS access methods. What's also important is that none of these methods require anyone viewing your webpage using any Internet browser capable device to download/install anything and that any Internet browser capable device visiting your webpage, will be able to always see your IP Camera. Instantly.

 

Most IP Cameras have a finite number of ("Long-Term such as video or formally logged in") concurrent connection limit. Depending on the IP Camera brand and model. This limit can be as low as a maximum of (4). So if you go full-motion video and your website is busy. You may need to use some type of video streaming service which uses one connection to your IP Camera and does the broadcasting of your IP Camera to your website visitors. As already stated here. In many cases that's not free when you need to support x concurrent viewers or the bandwidth exceeds a limit.

 

If you provide the full-motion video streaming yourself. You may also need to take into consideration your ISP upload bandwidth and any bandwidth per month limitations or additional charges when those limits are exceeded that the ISP where your IP Camera is located, may have. Even if you configure and operate your own video streaming server. From the IP Camera location and/or a web server, depending on the bandwidth the IP Camera will use.

 

If the IP Camera provides the full-motion video directly to your website visitors. It's unlikely that any of them will have a pleasant experience when 5+ website visitors are attempting to view the IP Cameras full-motion video at the same time. Even if the ISP at the IP Cameras location can support the bandwidth for those website visitors attempting to view the IP Cameras full-motion video simultaneously. Because IP Cameras generally use ARM based CPU's with limited horsepower and limited internal memory for buffering, that can become overtasked easily. When IP Cameras are pushed beyond their normal limits.

 

I have a saying that sometimes offends IP Camera owners. But it's no less false because of that. Displaying full-motion video from a IP Camera on a websites webpage, can be like "Watching paint dry at 15-30 FPS ("Frames Per Second")". But more expensive to you, as others do just that. Unless your IP Camera is viewing interesting activity 24/7/365? Then it may not be worth any added or additional cost required to stream full-motion video. When there are other free methods you can use instead.

 

Last, but far from least. Virtually any device directly exposed to the Internet, will have vulnerabilities found and exposed at some point during their lifetime. In the case of IP Cameras, this can be more dangerous than some other devices. Especially, if your IP Camera configuration data for example contains Email and/or FTP User and Password credentials. Because if someone due to a vulnerability, now or in the future, gains access to that information. Then someone ("Owns") you, not just your IP Camera. Potentially, causing you much unneeded stress for many days, weeks, months or longer to recover from that resulting abuse.

 

Because of this. IMHO. Exposing nothing in a webpage about the location or User credentials of your IP Camera is best practice. To do otherwise, is inviting trouble with open arms. From multiple sources worldwide. Your IP Camera becomes a worldwide test bed and playground for others that have too much free time on their hands and it's always open for use and abuse 24/7/365. Catering to any and all time zones.

 

Don

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×