/live555

A mirror of the live555 source code.

Primary LanguageC++GNU Lesser General Public License v2.1LGPL-2.1

Build Instructions

For example:

./genMakefiles linux
make -j4

Replace "linux" with your platform, e.g. avr32-linux, cygwin, freebsd, iphoneos, linux, linux-64bit, macosx, openbsd, solaris-64bit, etc (see config.PLATFORM files)

You will find various executables:

  • ./testProgs - contain various programs such as testRTSPClient to receive an RTSP stream
  • ./proxyServer/live555ProxyServer - a great RTSP proxy server
  • ./mediaServer/live555MediaServer - an RTSP media server for serving static files over RTSP

Changes to Master

See modifications.patch to see exactly what was changed compared to vanilla.

Buffer sizes

increaseReceiveBufferTo is increased to 2,000,000 bytes (same as VLC default) and OutPacketBuffer::maxSize is increased 10 fold to 1000000 in the ProxyServer. These 2 changes make live555 work a hell of a lot better out of box.

-p option for proxyServer - allows specifying a listening port on the command line

This was rejected from the mailing list, but often RTSPProxy fails to run on more than a few cameras with bad corruption, frames seeking back and forth and many other adverse side effects. Being able to run multiple instances listening on different ports is crucial.

Force port re-use

When restarting live555ProxyServer, you are often greeted with a "Port Already in Use" error and forced to wait for the port to time out. Adding "define ALLOW_RTSP_SERVER_PORT_REUSE" to liveMedia/RTSPServer.cpp prevents this.