一 下载
git clone https://github.com/dmonakhov/ortp
cd ./ortp
./autogen.sh
./configure --prefix=/tmp/ortp --host=arm-hisiv300-linux
# --prefix:安装位置
# --host:交叉编译工具链
make && make install
安装完成会在/tmp/ortp生成库和头文件,没有成功查看对应网络教程
./autogen.sh
./configure --prefix=/tmp/ortp --host=arm-hisiv300-linux
检查环境配置,设置生成路径
make && make install
编译库
cd /tmp/ortp 生成库
二、运行测试
打开ORTP源码,进入/ortp/src/tests目录,这里是测试源码
使用源码测试