Streaming webcams
Posted: 19 Jul 2007 01:21
Dear all,
I tried unsuccessfully to do what follows and my conclusion is that it seems not to be possible. Please correct me if I am wrong.
I would like to host on my website with IP aaBBccDD
1. the streaming coming from a webcam connected to the webserver A (same IP aaBBccDD)
2. the streaming coming from a webcam connected to a computer B with different IP ddEEffGG.
Both the computers have VLC installed.
I observed that
1. If A and B are within the same LAN and the IP are the local IPs, then
1.1 using the RTP protocol for both the streaming
- is possible to see only on the browser of the webserver both the webcams
- none of the webcam will appear on the browser of the computer B
I guess, this is because for both the streaming the RTP protocol requires the local IP of the destination (webserver A)
1.2 using the HTTP protocol
- is possible to see on both the web-browser the webcam connected to the webserver
This is because even if I am able to ping the two computers with no difficulties, with the HTTP protocol I can only stream locally the webcam
connected to webserver A. VLC doesn't allow me to stream from computer B to computer A.
2. If A and B are not within the same LAN and the IP are the static IPs, then
the RTP streaming from A to B and from B to A doesn't seem to work for me (the firewall ports are open)
I can still broadcast the webcam on computer A to the website and see it from computer B.
However there is no way to see the webcam B on computer A.
Why is such ?
Regards
Federico
I tried unsuccessfully to do what follows and my conclusion is that it seems not to be possible. Please correct me if I am wrong.
I would like to host on my website with IP aaBBccDD
1. the streaming coming from a webcam connected to the webserver A (same IP aaBBccDD)
2. the streaming coming from a webcam connected to a computer B with different IP ddEEffGG.
Both the computers have VLC installed.
I observed that
1. If A and B are within the same LAN and the IP are the local IPs, then
1.1 using the RTP protocol for both the streaming
- is possible to see only on the browser of the webserver both the webcams
- none of the webcam will appear on the browser of the computer B
I guess, this is because for both the streaming the RTP protocol requires the local IP of the destination (webserver A)
1.2 using the HTTP protocol
- is possible to see on both the web-browser the webcam connected to the webserver
This is because even if I am able to ping the two computers with no difficulties, with the HTTP protocol I can only stream locally the webcam
connected to webserver A. VLC doesn't allow me to stream from computer B to computer A.
2. If A and B are not within the same LAN and the IP are the static IPs, then
the RTP streaming from A to B and from B to A doesn't seem to work for me (the firewall ports are open)
I can still broadcast the webcam on computer A to the website and see it from computer B.
However there is no way to see the webcam B on computer A.
Why is such ?
Regards
Federico