rtpengine on debian/ubuntu

RTPEngine 是常用的媒体代理服务器,通常被集成到 SIP 代理服务器中以减小代理服务器媒体传输的压力,其架构如下图所示。这种使用方式相当于将 RTPEngine 隐藏在 SIP 代理服务器后面,我们虽然可以借助 SIP 代理服务器提供的相关接口有限操作 RTPEngine,但是对 RTPEngine 实例的相关数据缺乏控制

添加源

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

DIST=`lsb_release -sc`
REL=11.5
echo "deb [signed-by=/usr/share/keyrings/dfx.at-rtpengine-archive-keyring.gpg] https://rtpengine.dfx.at/$REL $DIST main" | sudo tee /etc/apt/sources.list.d/dfx.at-rtpengine.list

安装

apt update -y
apt search rtpengine
apt install -y rtpengine