stream local webcam to webpage/http server
Posted: 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
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