ubuntu下live555
1、代码下载
http://www.live555.com/liveMedia/public/
2、解压
tar xvf live555-latest.tar.gz
3、编译
cd live555-latest/live
编译生成执行文件
linux-no-openssl对应配置文件config.linux-no-openssl
./genMakefiles linux-no-openssl
make
4、生成的文件
5、启动rtsp server
从http://www.live555.com/liveMedia/public/264/ 下载slamtv60.264文件,放入mediaServer文件夹下
cd mediaServer
执行./live555MediaServer
6、拉取rtsp流
(1)打开vlc使用快捷键ctrl+n,输入地址串rtsp://192.168.128.30:8554/slamtv60.264
vlc开始播放视频
(2)或者进入live555编译生成的testProgs,cd testProgs,执行./testRTSPClient rtsp://192.168.128.30:8554/slamtv60.264
live555的client开始接收数据