Debian11 下源码编译 rtpengine11.1

#!/bin/bash

apt-get dist-upgrade gnupg2 apt-utils lsb-release cmake curl iproute2 ca-certificates gcc g++ make build-essential git libavfilter-dev \
    libevent-dev libpcap-dev libxmlrpc-core-c3-dev markdown \
    libglib2.0-dev libip6tc-dev libip4tc-dev libxtables-dev libiptc-dev\
    libjson-glib-dev default-libmysqlclient-dev libhiredis-dev libssl-dev \
    libcurl4-openssl-dev libavcodec-extra gperf libspandsp-dev libwebsockets-dev -yq 

cd /usr/src
wget http://220.231.180.131:12297/drachtio/bcg729.tar.gz && tar zxvf bcg729.tar.gz
cd bcg729 && cmake . && make && make install

cd /usr/src
git clone https://github.com/sipwise/rtpengine.git -b mr11.1
cd rtpengine/daemon
make && ldconfig && cp rtpengine /usr/bin

rtpengine -v

Version: 11.1.2.0+0~mr11.1.2.0 git-mr11.1-a6afc755
rtpengine --codecs

PCMA: fully supported

PCMU: fully supported

G723: fully supported

G722: fully supported

QCELP: supported for decoding only

G729: fully supported

G729a: fully supported

speex: fully supported

GSM: fully supported

iLBC: supported for decoding only

opus: fully supported

vorbis: codec supported but lacks RTP definition

ac3: codec supported but lacks RTP definition

eac3: codec supported but lacks RTP definition

ATRAC3: supported for decoding only

ATRAC-X: supported for decoding only

EVRC: supported for decoding only

EVRC0: supported for decoding only

EVRC1: supported for decoding only

AMR: fully supported

AMR-WB: fully supported

telephone-event: fully supported

CN: fully supported

PCM-S16LE: codec supported but lacks RTP definition

PCM-U8: codec supported but lacks RTP definition

MP3: codec supported but lacks RTP definition

当然也有不同的编译方法


刚才试了试 mr12.0.1

apt install -y libopus-dev libmnl-dev libnftnl-dev pandoc

需要安装上面这些

相关推荐
无名38716 天前
一个简单的 uas_send_bye.xml for SIPp
通讯
无名38721 天前
FreeSWITCH json api
通讯
无名3871 个月前
关于 FreeSWITCH mod_sofia 注册过期时间的测试
通讯
无名3872 个月前
SIPp uac.xml 之我见
通讯
酒茶白开水4 个月前
React二组件进阶
react.js·生命周期·context·通讯·props·render-props·高阶组件
佳途自动化学院4 个月前
三菱FX3U进阶课程-运动控制讲解
自动化·plc·工控·通讯·三菱
无名3875 个月前
简单介绍 Kamailio cfg_rpc 模块
通讯
无名3875 个月前
MicroSIP 使用笔记
通讯
无名3876 个月前
Kamailio openssl 3.0.x 需要注意的事项
通讯
h6play7 个月前
如何优雅的实现 iframe 多层级嵌套通讯
npm·vue·bridge·iframe·通讯·连接·嵌套iframe