1, compiled live555 source directory basicusageenvironment, Groupsock, Livemedia, usageenvironment four projects to generate the corresponding library files;
The directory structure is as follows:
2, including the above four project directory under the Include directory file and the generated library files, compiled MediaServer directory files, will generate the corresponding EXE file (under Windows compiled EXE, under Linux can generate the corresponding running program)
The MediaServer.exe file is generated on the Windows platform and runs the exe file such as:
3, the hint in any one format file into the same directory with MediaServer.exe, such as chjch.mkv ("Rush Car" movie mkv file) file placed in the same directory as the EXE;
4, in another computer installed VLC audio player program (http://www.videolan.org/), direct Baidu VLC in Baidu software download also line;
5, open the VLC program, select "Media", "open network streaming", such as:
6, in the input network URL as input: such as the path "rtsp://192.168.1.102/chfch.mkv", the path does not take Chinese, otherwise there will be a parsing error, but not open normally.
7, click the Play button to play chfch.mkv ("Rush Car") Movie:
Such as:
A simple RTSP server based on live555