Page 1 of 1

stream local webcam to webpage/http server

Posted: 10 Nov 2010 16:52
by Jyske Web
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

Re: stream local webcam to webpage/http server

Posted: 18 Nov 2010 01:03
by rogerdpack
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?)

Re: stream local webcam to webpage/http server

Posted: 25 Feb 2011 08:44
by rsekar_2005
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