1

I'm trying to set up an outdoor ip camera. I'd like to embed this camera on a website and allow anyone to view the stream.

There are several solutions that I can think of.

  1. Unicast the stream and embed it on a website. Downside is the limited upload speed of the internet connection will be quickly overwhelmed by multiple clients.

  2. Unicast to a server then allow the server to distribute the stream to multiple clients. I could still run into bandwidth issues, though, but it's not as bad. I can implement stream timeouts to prevent people from leaving the stream running forever and reduce bandwidth.

  3. Get an IP camera with multicast capability then embed a multicast stream.

  4. Use built-in FTP to upload pictures as fast as possible and refresh the picture as fast as possible with javascript to "fake" streaming.

So the only thing I can say that I absolutely know how to do start to finish is #4. My ideal solution is #3, as you have static bandwidth requirements and can crank up the quality without any real downsides.

Can someone give me some direction here?

An amazing example of an ideal setup are the webcams at http://surfchex.com/. It doesn't need to be that amazing, but if I knew how all the technology is strung together it'd give me an idea of how to proceed.

3 Answers 3

0

You should look at something like WOWZA media server, They support live streaming.

0

My solution was #4, except I had a remote host's cron job set to download images as fast as possible. I then used the unlimited bandwidth of that host to distribute the images to as many people as want to look at the stream. This resulted in ~2 frames per second, which is enough for my application.

0

There are some cloud based services providing great solution for this. One of the best is IPCamLive. This service can receive the video streams directly from the camera (using HTTP/RTSP protocol) and can broadcast it to the viewers. IPCamLive has Flash/HTML5 video player component that can display the video on PC, MAC, tablet or mobile. The greatest thing is that the site generates the needed HTML snippet for embedding the live video. Snippet looks like this:

<iframe src="http://ipcamlive.com/player/player.php?alias=mycamera" width="800px" height="600px"/>

The only thing we have to do is just copy paste the snippet into the HTML code without any modification.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .