The proxy server (PS) is the nearest part of the Internet to the client. The proxy can cache the data, and release the load of the servers. So the proxies have great influence on the video QoS. Feb 21, 2014 I use VLC as rtsp server, and live555 proxyserver (as rtsp client of VLC) to proxy the rtsp stream. From the log generated by live555 proxyserver, every about 20s, VLC will send a 'BYE' signal to live555 proxyserver, this will cause the rtsp proxy process broken.
Live555ProxyServerExThis is improved version ofthat supports configuration files.The 'LIVE555 Proxy Server' is a unicast RTSP server - built from the- thatacts as a 'proxy' for one or more 'back-end' unicast or multicast RTSP/RTPstreams (i.e., served by other server(s)).The key feature of a proxy server is that it reads each 'back-end' stream onlyonce, regardless of how many separate clients are streaming from the proxyserver. This makes the proxy server ideal, for example, for streaming froma RTSP-enabled video camera (which might not be able to handle more thanone connection at a time).
RTSP client1back-end RTSP/RTP stream - LIVE555 Proxy Server - RTSP client2.- RTSP clientNFor more information see. Build instructions(only linux-64bit is supported now).Install latest version of vanilla LIVE555:.
![Live555 Live555](http://i.imgur.com/iCzJaQN.png)
Debian/Ubuntu: sudo apt-get install livemedia-utils liblivemedia-dev. Arch Linux: sudo pacman -S live-media. from source ( 2018.09.10 was tested):. build using the official documentation:. install.a libraries using sudo make install (you can put customDESTDIR in your live555 config file (not proxy config file!) or usesomething like checkinstall). put LIBRARIESDIR = /usr/local/lib to your config file.
use LIBSUFFIX = a in your config fileMake sure the development files (e.g. /usr/include/liveMedia or/usr/local/include/liveMedia) are available.Copy config-example.linux-64bit to config.linux-64bit and edit it. Youmay want to replace LIBRARIESDIR and INCLUDESPREFIX or changethe compiler (see also example for Ubuntu 18.04 with gcc:config-example-ubuntu.linux-64bit). Use LIBSUFFIX = a for static linking.
Use LIBSUFFIX = so for dynamic linking.Generate Makefile using./genMakefiles linux-64bit.make.Then live555ProxyServerEx executable file will be availableConfiguration fileWhile you can use command-line arguments as with vanilla live555ProxyServer,you also can create a configuration file and load it using -c config.cfgoption.
![Server Server](http://www.youngzsoft.net/ccproxy/upload/real-1-1.jpg)
Update:I tested with VLC 1.1.11 and VLC 2.1.0, the same problem, it seems VLC server thought the client was dead, then sent a 'BYE' and closed the stream output.First I doubted the 'RR' response from live555 proxyserver to VLC is too late, but after analysed the network traffic with wireshark, it seemed all OK。 VLC sent 'SR' packet about every second, and live555 proxyserver replied 'RR' packet just after an 'SR' packet received.Then I tested live555 proxyserver with other rtsp source, it worked all OK.So, the problem is: why VLC received 'RR' packet but still thought the client was dead?