搭建SonoBus专用aooserver服务器(仅作信令中转,不转发音频流)

SonoBus是一款跨平台,本地/远程无损监听软件(支持DAW插件)。SonoBus软件免费(开源),P2P点对点链接传输音频数据,高质量低延迟。官方提供的aooserver服务器搭建方案,只是帮助用户建立连接,不参与音频数据的转发。如果你想搭建/部署自己的SonoBus专用aooserver服务器下面是相应的部署代码,系统 Ubuntu 24,服务器配置建议 2H 2G以上。

# 切换到 root 用户
sudo -i

# 安装编译依赖
sudo apt update
sudo apt install git cmake build-essential -y
apt install pkg-config -y
apt install libcurl4-openssl-dev -y


# 克隆源码并编译
git clone https://github.com/essej/aooserver.git
cd aooserver
cd Builds/LinuxMakefile
CONFIG=Release make

# 安装到系统路径
sudo cp build/aooserver /usr/local/bin/



# 创建 systemd 服务(开机自启)
sudo nano /etc/systemd/system/aooserver.service


[Unit]
Description=AoO Server for SonoBus
After=network.target

[Service]
Type=simple
User=root
WorkingDirectory=/root
ExecStart=/usr/local/bin/aooserver
Restart=on-failure
RestartSec=10

[Install]
WantedBy=multi-user.target



# 1. 重新加载所有系统服务配置
sudo systemctl daemon-reload

# 2. 将 aooserver 设置为开机自启
sudo systemctl enable aooserver

# 3. 立即启动服务(这样就不需要重启服务器了)
sudo systemctl start aooserver

# 4. 检查服务状态
sudo systemctl status aooserver

未经授权,禁止转载 内容投诉
孤狼音频 » 搭建SonoBus专用aooserver服务器(仅作信令中转,不转发音频流)
您需要 登录账户 后才能发表评论

一个令你着迷的学调音网站!

调音视频教程 开钻石会员免费看全站

当前游览器不能播放视频,请换 谷歌浏览器火狐浏览器 播放视频