Brief introduction
Live555 is a cross-platform, C + + open source project for streaming media solutions that enables standard streaming media delivery as a cross-platform, C + + open source project for streaming media solutions, which implements the standard streaming media Transfer Protocol such as Rtp/rtcp, RTSP, sip and other support. LIVE555 enables the streaming, receiving, and processing of audio and video data in a variety of audio and video encoding formats, including MPEG, h.263+, DV, JPEG video, and multiple audio coding. At the same time, thanks to the good design, Live555 is very easy to extend support for other formats.
Main Branch
live555 mainly includes four more important libraries, respectivelyusageenvironment,Groupsock,Livemedia,Basicusageenvironment is the implementation of some of the interfaces we need in our two development process. There is also a testprogs directory, which is some basic use of the demo program, starting from here.
SOURCE download
Here can download the latest live555 of the relevant source code, are in the. tar.gz end of the compression package, Windows is also download this, I downloaded the latest 2015/8/7.
Compile
The official website also has the more clear different platform detailed explanation, explains as follows:
Linux platform How to configure and build the code on Unix (including Linux, Mac OS X, QNX, and other posix-compliant systems The source code package can is found (as a ". tar.gz" file) here. Use "Tar-x" and "Gunzip" (or "TAR-XZ", if available) to extract the package; Then CDs to the "Live" directory. Then run./genmakefiles <os-platform>where <os-platform> is your target platform-e.g., "Linux" or "Solari S "-defined by a" config.<os-platform> "file. This would generate a Makefile in the ' Live ' directory and each subdirectory. Then run "make".//Windows platform How to configure and build the code on Windowsunpack and extract the '. tar.gz ' file (using a Application such as "WinZip"). If the ' Tools ' directory on your Windows machine was something other than "C:\Program FILES\DEVSTUDIO\VC", Change the "TOOL S32 = "line in the file" Win32config ". In a command shell, ' CDs ' to the ' live ' directory, and run Genwindowsmakefilesthis'll generate-in each subdirectory -A "*.mak" MaKefile suitable for use by (e.g.) Microsoft Visual Studio.
Because I was studying live555 under the Ubuntu system, so by the way I compile the wrong question,
After executing the./genmakefiles Linux, the error when running make is as follows:
the above situation is mainly Ubuntu development environment is not installed (a drawback of Ubuntu system, everything has to come)
sudo apt-get install build-essential//< installation is prompted to rely on, the installation of the corresponding prompt package, if the version does not match, you can first remove, and then in the install>
after the installation is successful, perform make,after success, the corresponding basicusageenvironment, Groupsock, Livemedia, UsageenvironmentThe required. A file is generated under the folder. It is recommended that you do not need to use make install to the system, there is no need, when needed to link on the OK. Usewhen make is finished, go to the Mediasever directory and you will find a live555mediaserver executable file, yes, this is a simple RTSP service program live555 comes with, Let's take a general look at the live555 feature before running it as shown
This means that the RTSP service is running normally, in the red box, is the URL of a request file stream for the live555 Library automatic system,change <filename> to the corresponding H264 playback file in Mediasever directory. if the play address below me is rtsp://10.0.2.15:8554/test10.264, the effect is as follows
LIVE555 's introduction to the compilation, the following chapters, continue to delve into the relevant knowledge, including the role of four libraries, their own implementation of file stream playback, as well as real-time video streaming playback.
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
Elementary analysis of live555 Media Library Getting started compiling use