首页 星云 工具 资源 星选 资讯 热门工具
:

PDF转图片 完全免费 小红书视频下载 无水印 抖音视频下载 无水印 数字星空

debian10环境安装rtpengine

编程知识
2024年08月17日 13:46
操作系统 :debian 10.13_x64

rtpengine版本:10.5

最新的debian12环境可通过apt直接安装rtpengine,但工作中有时候还会涉及到debian10这样的老系统,今天记录下debian10环境安装rtpengine的笔记,并提供相关演示效果及资源下载。

 我将从以下几个方面进行展开:

  • debian镜像资源

  • 源码编译及安装rtpengine

  • 使用apt安装rtpengine

  • 配套资源下载

一、debian镜像资源

如果要使用虚拟机进行实验,需要使用debian10的镜像进行安装,但debian10是老系统,官网不容易找(但还是能找到的):

https://cdimage.debian.org/cdimage/archive/

 本文用到的镜像下载地址:
https://cdimage.debian.org/cdimage/archive/10.13.0/amd64/

 

二、源码编译及安装rtpengine

1、获取源码

GitHub地址:https://github.com/sipwise/rtpengine

 可以在Releases里面下载源码的tar.gz包,这里选的版本是 10.5.3.5 ,文件名称是:

rtpengine-mr10.5.3.5.tar.gz

如果GitHub下载过慢,可从如下渠道获取:

关注微信公众号(聊聊博文,文末可扫码)后回复 20240817 获取。

2、更新apt源

文件:/etc/apt/sources.list
内容如下:

# deb cdrom:[Debian GNU/Linux 10.13.0 _Buster_ - Official amd64 DVD Binary-1 20220910-18:04]/ buster contrib main

#deb cdrom:[Debian GNU/Linux 10.13.0 _Buster_ - Official amd64 DVD Binary-1 20220910-18:04]/ buster contrib main

deb http://security.debian.org/debian-security buster/updates main contrib
deb-src http://security.debian.org/debian-security buster/updates main contrib

# buster-updates, previously known as 'volatile'
# A network mirror was not selected during install.  The following entries
# are provided as examples, but you should amend them as appropriate
# for your mirror of choice.
#
# deb http://deb.debian.org/debian/ buster-updates main contrib
# deb-src http://deb.debian.org/debian/ buster-updates main contrib

deb https://mirrors.tuna.tsinghua.edu.cn/debian/ buster main contrib non-free
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ buster-updates main contrib non-free
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ buster-backports main contrib non-free
deb https://mirrors.tuna.tsinghua.edu.cn/debian-security/ buster/updates main contrib non-free

deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ buster main contrib non-free
deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ buster-updates main contrib non-free
deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ buster-backports main contrib non-free
deb-src https://mirrors.tuna.tsinghua.edu.cn/debian-security/ buster/updates main contrib non-free

3、安装依赖及编译

rtpengine编译和安装,可参考文档:
https://rtpengine.readthedocs.io/en/latest/compiling_and_installing.html

 使用apt安装依赖:

apt install gcc g++ autoconf automake make cmake 
apt install  pkg-config libglib2.0-dev  libpcre2-dev  zlib1g-dev  libjson-glib-dev libpcap-dev libswresample-dev
apt install libavcodec-dev  libspandsp-dev  libhiredis-dev  libavformat-dev  libevent-dev libxmlrpc-c++8-dev
apt install gperf libtool libiptc-dev libmariadb-dev-compat libmariadb-dev  libcurl4-gnutls-dev  libcurl4
apt install libwebsockets-dev libavfilter-dev iptables-dev

编译:

make all

编译完成后,二进制文件路径:daemon/rtpengine

默认不支持729编码,只能解码:

4、添加729支持

如果需要支持 729编码,需要安装bcg729库。Github地址:

https://github.com/BelledonneCommunications/bcg729

这里用的是1.1.1版本,下载命令如下:

wget https://github.com/BelledonneCommunications/bcg729/archive/refs/tags/1.1.1.tar.gz

如果GitHub下载过慢,可从如下渠道获取:

关注微信公众号(聊聊博文,文末可扫码)后回复 20240817 获取。

编译并安装bcg729库:

tar zxvf bcg729-1.1.1.tar.gz
cd bcg729-1.1.1/
cmake .
make
make install

 然后重新编译 rtpengine(需要执行ldconfig指令):

5、安装rtpengine

这里说下,源码根目录的make install无效:

 可以直接使用copy命令进行安装:

cp daemon/rtpengine /usr/local/bin/

三、使用apt安装

debian10也可使用第三方源来安装rtpengine,具体参考:

https://dfx.at/rtpengine/

这里描述下大概思路。

1、安装第三方key

命令如下:
wget https://rtpengine.dfx.at/latest/pool/main/r/rtpengine-dfx-repo-keyring/rtpengine-dfx-repo-keyring_1.0_all.deb
dpkg -i rtpengine-dfx-repo-keyring_1.0_all.deb
apt install gnupg
apt-key add /usr/share/keyrings/dfx.at-rtpengine-archive-keyring.gpg
apt-key list

2、添加source源

文件:/etc/apt/sources.list.d/rtpengine.list
内容如下:

deb  https://rtpengine.dfx.at/10.5  buster  main

3、安装rtpengine

安装命令:

apt install rtpengine

查看状态:

systemctl status rtpengine

四、资源下载

本文涉及源码及相关文件,可从如下途径获取:

关注微信公众号(聊聊博文,文末可扫码)后回复 20240817 获取。

From:https://www.cnblogs.com/MikeZhang/p/18364371/debian10installRtpengine20240817
本文地址: http://www.shuzixingkong.net/article/1184
0评论
提交 加载更多评论
其他文章 T113s工业套件简述
T113s工业套件简述 提示 T113开发交流QQ群:120575746 此开发板的任何问题都可以在我们的论坛交流讨论 https://forums.100ask.net/c/aw/ 硬件简述​ 100ASK_T113s3-Industrial-DevKit 是百问网设计的一款专门针对于工
T113s工业套件简述 T113s工业套件简述
并查集扩展
并查集扩展 目录并查集扩展普通并查集例题:1.洛谷P1197 星球大战2.洛谷P1955 程序自动分析带权并查集例题:1.洛谷P2024 食物链2.洛谷P1196 银河英雄传说3.洛谷P5937 Parity Game扩展域并查集例题:1.洛谷P1525 关押罪犯 普通并查集 例题: 1.洛谷P11
并查集扩展
短视频上传怎么做|写个支持分片上传/断点续传/秒传功能的文件服务吧
各位平时使用的短视频应用,微信 & 微博等图文社区,它们的图文动态 & 视频上传的能力,都是极其核心的业务。 本质来说,这都是文件的上传,这篇文章带大家写一个文件上传服务,探究其核心原理,相信能为你带来一些帮助。
短视频上传怎么做|写个支持分片上传/断点续传/秒传功能的文件服务吧
使用 prefetchComponents 进行组件预取
title: 使用 prefetchComponents 进行组件预取 date: 2024/8/17 updated: 2024/8/17 author: cmdragon excerpt: 摘要:本文介绍Nuxt.js中的prefetchComponents功能,用于预取组件以提高用户体验。通过
使用 prefetchComponents 进行组件预取 使用 prefetchComponents 进行组件预取
Jetpack架构组件学习(5)——Hilt 注入框架使用
原文: Jetpack架构组件学习(5)——Hilt 注入框架使用-Stars-One的杂货小窝 本篇需要有Kotlin基础知识,否则可能阅读本篇会有所困难! 介绍说明 实际上,郭霖那篇文章已经讲得比较明白了(具体参考链接都贴在下文了),这里简单总结下: 如果按照之前我们的MVC写法,我们可以直接在
Jetpack架构组件学习(5)——Hilt 注入框架使用 Jetpack架构组件学习(5)——Hilt 注入框架使用 Jetpack架构组件学习(5)——Hilt 注入框架使用
什么是AOP,以及在Springboot中自定义AOP
AOP (Aspect Oriented Programming)一般译为面向切面编程 Aspect [ˈæspekt] n.方面;层面;(动词的)体那么AOP 面相切面编程具体是指什么,它和之前的OOP 面相对象编程又有什么区别和联系。先说OOP,面相对象编程简单来说,万物皆可视为对象,
什么是AOP,以及在Springboot中自定义AOP 什么是AOP,以及在Springboot中自定义AOP
第一章 内网环境搭建
用户须知 1.免责声明:本教程作者及相关参与人员对于任何直接或间接使用本教程内容而导致的任何形式的损失或损害,包括但不限于数据丢失、系统损坏、个人隐私泄露或经济损失等,不承担任何责任。所有使用本教程内容的个人或组织应自行承担全部风险。 详情免责声明 版权声明 交流群 原文教程 前言 1. 更多教程请
第一章 内网环境搭建 第一章 内网环境搭建 第一章 内网环境搭建
北漂日志第1话:惨淡销量、后续发展
北漂日志第1话:惨淡销量、后续发展 简单介绍下作者背景: 北漂两年,在一家小公司任职后端岗位 热爱编程,尝试开发App,打造品牌,实现副业转正 目前发布的产品有:离线背单词应用《深海记词》 开发 选择开发一款离线App是一个不错的选择,尤其是对于没有经验的独立开发者。 不需要考虑服务器的成本、繁琐的
北漂日志第1话:惨淡销量、后续发展 北漂日志第1话:惨淡销量、后续发展