Live video streaming

Posted on 2007-04-10
Last Modified: 2012-06-21
I want to create a video server that does live video streaming.  Kind of like setting up a video camera and streaming video to the web in real time.

Any suggestions for the server, the camera to do the live streaming and the web page.
Question by:darovitz

Expert Comment

ID: 18884848
Hawking makes a pretty good resolution camera if you want to be able to access across the web in real time. It has about 25 frames per second average and can accomodate a 640x480 screen capture. It will not re-feed a 30 fps video stream if you are trying to watch a TV across the web, but it will capture and run good feeds. HNC210 is what we use, it also uses a java script to load, and it has a video port you can use for setup for web viewing remotely - and you can even set up an internal; port if you wnat to remotely connect using Remote Desktop Connection. It costs about $90 and ours has been reliably outputting viodeo for the last 9 months non-stop stream. You can also capture video frames and streams to a server or storage drive and it connects using an RJ45 port so it can connect directly to your router or any switch without need for a PC.

Expert Comment

ID: 18884891
As for a server - anything like an XP box will do, doesn't have to be screaming fast unless you plan on hosting to multiple customers then you should look at a Win 2003 server. But ours is on an XP Pro box (allows RDP connections) and it has a seperate USB hard drive attached to it that serves the video storage, and it also has a second drive that holds video files for retreival (password protected). Total cost for camera - XP PC and (2) remote drives ($720 - US)

Author Comment

ID: 18885492
Awesome.  I plan on using a windows server 2003 box.  I will check out the camera. So I am going to be streaming this real time video to my server which is also the web page.  Again I have not built the web page yet.  Suggestions on how to do the live feed?  I am hoping many, many people view at one time.  I need more specifics on setup of the server.  Thanks for your assistance.
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.


Accepted Solution

couritech earned 250 total points
ID: 18885645
The server should not be the endpoint router (even if multihomed). I would (as we do) use a perimeter router (anything, like a Linksys will do) - and set it up to use port forwarding to the camera internet port to send all videorequests for to that port on the cameras assigned IP. Lets say your camera IP is

You'd want to then have a link on your website that is in reality just a hyperlink to the camera IP (internal IP assigned and be sure to reserve in DHCP that IP - or statically assing the camera this IP which can be done in the camera management interface program and then point the hyperlink to the camera port.... (something like port 2864 as an example).

So your router link for port forwarding would be to Ip and open port 2864. You would also need a link on your web page directly beneath the video port window in your wesbite to be sure you state the customer needs Java to view the feed (and the link should ideally take them to for the file if they don't have it).

Your website will need to have a layer or window for the feed view and your router needs to have the keepalive setting checked (if required) to be sure it doesn't go to sleep on that camera IP x.x.x.50. Be sure your server firewall is set up to allow traffic to pass through to the internal Ip of x.x.x.50 and that port 2864 (if used) for the camera sends all traffic to the camera IP. Thats all it takes.

Assisted Solution

rod_nolan earned 250 total points
ID: 18895083
Flash Media Server from Adobe is built specifically for exactly what you want: real time video streaming. The basic architecture of your solution might look something like this: 2 flash applications (SWFs) and 1 Flash Media Server application. Of the two Flash applications, one is the video publisher, which is typically used by just one person at a time and the other is a video subscriber, which can typically be used by many people simultaneously. Both of these client side Flash applications would connect to a server side Flash Media Server application, one as the video publisher and the other as the video subscriber.

The video publisher Flash application takes a feed from any USB or Firewire web cam and/or microphone, encodes the audio and video signal on the fly and publishes the video stream to the Flash Media Server.

The Flash Media Server application is completely scriptable using ActipnScript, a language that's very similar in syntax to JavaScript. You can secure access to your applications, segment applications into separate instances and multiplex streams to multiple subscribers in real time.

The video subscriber Flash application simply subscribes to the live video stream that is being published via the Flash Media Server. It can be scripted to implement smart bandwidth detection and error handling routines which allow the end user client application to respond intelligently to any number of status changes and error conditions. And since it's Flash, you can get as creative as you want with the interface.

You mentioned that you wanted to host many subscribers. Depending on your definition of many, this solution may be a little pricey. The free developer edition is capable of hosting 10 connections with a no bandwidth cap. If you want to host more than 10 total connections you'll automatically find yourself in the USD $4,500 range. If that's too much, you can look into hosting companies which would typically charge you a monthly fee with some bandwidth usage restrictions. If you're talking really high volume, there are a few big companies which offer a service called the Flash Video Streaming Service but it's expensive.

Hope this helps.

LVL 23

Expert Comment

by:Rajkumar Gs
ID: 26598856

I have posted a related question and in trouble finding a solution. can you guys have a look at it please ?

Any help would be highly appreciated.

Thanks for your attention.

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Redirect website ! 4 55
Using random iterations in password hashing.  Good or Bad? 4 93
spamming  on Hosted svrs? 6 103
Why is my Splunk Web URL not working? 2 82
Have you ever sent email via ColdFusion and thought of tracking this mail to capture the exact date and time when the message was opened ?  If yes, then this article is for you ! First we need a table user_email with columns user_id , email , sub…
Periodically we have to update or add SSL certificates for customers. Depending upon your hosting plan you may be responsible for the installation and/or key generation. In the wake of Heartbleed many sites were forced to re-key. We will concen…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question