交叉编译live555MediaServer流媒体服务器RTP/RTCP, RTSP, SIP 【转】

原文地址:交叉编译live555MediaServer流媒体服务器RTP/RTCP, RTSP, SIP 作者:gliethttp

交叉编译live555MediaServer流媒体服务器RTP/RTCP, RTSP, SIP

http://www.live555.com/liveMedia/public/

luther@gliethttp:~$ wget http://www.live555.com/liveMedia/public/live.2010.11.17.tar.gz

luther@gliethttp:~/live$ vim config.armlinux
修改为CROSS_COMPILE=arm-none-linux-gnueabi-
如果静态编译还需要做如下设置config.armlinux如下2处加入-static编译选项
COMPILE_OPTS = $(INCLUDES) -I. -O2 -DSOCKLEN_T=socklen_t -DNO_SSTREAM=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -static
CONSOLE_LINK_OPTS = -static #$(LINK_OPTS)

luther@gliethttp:~/live$ ./genMakefiles armlinux
luther@gliethttp:~/live$ make -j4

最后文件生成到了mediaServer/live555MediaServer [luther.gliethttp]

同时在testProgs目录下生成了测试live555MediaServer流媒体服务器的所有测试程序[luther.gliethttp]
比如openRTSP和playSIP协议测试程序(http://www.live555.com/openRTSP/和http://www.live555.com/playSIP/)

testProgs/openRTSP
testProgs/playSIP
testProgs/testMPEG1or2VideoStreamer
testProgs/testMPEG2TransportStreamer
testProgs/vobStreamer
testProgs/testMP3Streamer
testProgs/testMPEG4VideoToDarwin
testProgs/testAMRAudioStreamer
testProgs/testMPEG2TransportStreamTrickPlay
testProgs/testMPEG1or2ProgramToTransportStream
testProgs/testMP3Receiver
testProgs/testMPEG4VideoStreamer
testProgs/MPEG2TransportStreamIndexer
testProgs/testRelay
testProgs/testMPEG1or2Splitter
testProgs/testDVVideoStreamer
testProgs/testMPEG1or2VideoReceiver
testProgs/testMPEG1or2AudioVideoToDarwin
testProgs/testMPEG1or2AudioVideoStreamer
testProgs/sapWatch
testProgs/testWAVAudioStreamer
testProgs/testOnDemandRTSPServer

你可能感兴趣的:(Live555)