2011年1月13日星期四

Use VLC to forward streaming in Ubuntu 10.04

My recent project needs a video stream relay server that forwards MJPEG stream from a camera (Panasonic BL131) to client. I install VLC (v1.0.6) through "apt-get" in Ubuntu 10.04. However, it can't display the video from the HTTP server in the camera. The error message repeatedly tells "can't reach the host" as it always looks for the proxy. I disable the proxy in the system and firefox web broswer. Then I can use firefox to display the video streaming from camera but still fail to use VLC to retrieve the video. My colleage uses VLC (v1.1.5) in his Fedora and suceeds to display and relay the streaming. So it is clear that there is something wrong in Ubuntu but not VLC. It takes me almost one working day to find the reason. Finally I doubt it is related to firewall configuration in Ubuntu. So I disable the firewall in Ubuntu and reboot the system. Surprisingly, it succeeds to show the streaming.
THIS IS NOT FIRST TIME THE DEFAULT FIREWALL ENABLE STATE THAT SUCKS IN MY WORK.