Debian11 下源码编译 rtpengine 11.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

需要安装上面这些

相关推荐

  1. Debian11 编译 rtpengine 11.1

    2024-04-12 22:46:04       38 阅读
  2. Ubuntu编译Qt5.15

    2024-04-12 22:46:04       104 阅读

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2024-04-12 22:46:04       94 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2024-04-12 22:46:04       101 阅读
  3. 在Django里面运行非项目文件

    2024-04-12 22:46:04       82 阅读
  4. Python语言-面向对象

    2024-04-12 22:46:04       91 阅读

热门阅读

  1. sklearn的LabelEncoder 遇到新值的解决办法

    2024-04-12 22:46:04       34 阅读
  2. NOI / 1.6编程基础之一维数组

    2024-04-12 22:46:04       39 阅读
  3. redis的缓存击穿、缓存穿透、缓存雪崩

    2024-04-12 22:46:04       41 阅读
  4. 【leetcode面试经典150题】45. 快乐数(C++)

    2024-04-12 22:46:04       45 阅读
  5. IP为什么要分类呢

    2024-04-12 22:46:04       44 阅读
  6. linux上blkid命令

    2024-04-12 22:46:04       39 阅读
  7. Kubernetes 部署前内核升级

    2024-04-12 22:46:04       52 阅读
  8. vim插件配置

    2024-04-12 22:46:04       96 阅读