1, 下载工程代码
2, 运行 ./genMakefile linux 然后运行 make
3, 安装C++编译工具
sudo apt-get install build-essential
sudo apt-get install gcc
sudo apt-get install g++
4, ubuntu 安装VLc
- sudo add-apt-repository ppa:n-muench/vlc
- sudo apt-get update
如果你并没有安装VLC,则还需要执行下面的命令。
sudo apt-get install vlc
5, ubuntu 播放 流媒体
cd mediaServer
./live555MediaServer
在 vlc播放器中输入 rtsp://192.168.6.170/xiao.mp3