#!/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文章来源:https://www.toymoban.com/news/detail-849344.html
需要安装上面这些文章来源地址https://www.toymoban.com/news/detail-849344.html
到了这里,关于Debian11 下源码编译 rtpengine 11.1的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!