stream local webcam to webpage/http server

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
Jyske Web
New Cone
New Cone
Posts: 9
Joined: 26 Aug 2010 12:49

stream local webcam to webpage/http server

Postby Jyske Web » 10 Nov 2010 16:52

Hi VLC developers :O)

I have an idea and a solution that works local - that means that it is only me who can see the local webcam on the webpage.

Here to go:
1) On the body I embed the VLC plugin like this: <object type="application/x-vlc-plugin" pluginspage="http://www.videolan.org" version="VideoLAN.VLCPlugin.2" id="vlc1" height="340px" events="True" >

2) Then I have made a javascript function where I capture the local webcam on my computer and show it in the VLC plugin above with the Id=vlc1....here is the function:
function play() {
var vlc = document.getElementById("vlc1");
vlc.playlist.add("dshow://", "Acer Crystal Eye webcam", null);
vlc.playlist.play();
}

That's works fine !!

But how can I stream the webcam to the hosting company server so that all over the world can see me ??
Please help ! I really hope you can help me...... c¨,)

Best regards
Ole
from Denmark

rogerdpack
Big Cone-huna
Big Cone-huna
Posts: 574
Joined: 19 Jul 2008 23:48
Operating System: windows

Re: stream local webcam to webpage/http server

Postby rogerdpack » 18 Nov 2010 01:03

You'll either need to make your local computer public (accessible from the outside internet) or use some service that can accept a stream and broadcast it for you (justin.tv?)

rsekar_2005
New Cone
New Cone
Posts: 7
Joined: 25 Sep 2010 02:48

Re: stream local webcam to webpage/http server

Postby rsekar_2005 » 25 Feb 2011 08:44

Jyske Web,
If you are still looking for a way, here is something you can try.
www.tvoutback.com VLC utility allows you to broadcast from your webcam directly to your friends. There is a button "My Webcam" in the HTTP interface that may work for you.
Assuming that your webcam is working by itself, it should be straight forward.
Good Luck.
rs


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 1 guest