gpt4 book ai didi

installation - Janus WebRTC 安装问题

转载 作者:行者123 更新时间:2023-12-01 10:36:27 31 4
gpt4 key购买 nike

我正在 Ubuntu 机器(14.04 64 位)中安装 Janus WebRTC 网关。我按照以下链接中的说明进行操作:

但是,在尝试执行 janus 时出现以下错误:

https://github.com/meetecho/janus-gateway (readme.md 文件)

[FATAL] [janus.c:main:3670] No Janus API transport is available... enable at least one and restart Janus



任何人都知道问题可能是什么?我将只使用 REST API,不使用 WebStockets 或 RabbitMQ。

最佳答案

我按照以下步骤在 Ubuntu 14 上成功安装了 Janus:

sudo apt-get install libmicrohttpd-dev libjansson-dev libnice-dev libssl-dev libsrtp-dev libsofia-sip-ua-dev libglib2.0-dev libopus-dev libogg-dev libini-config-dev libcollection-dev libwebsockets-dev pkg-config gengetopt automake libtool doxygen graphviz git cmake

sudo apt-get install libavformat-dev

mkdir -p ~/build
cd ~/build
git clone git://github.com/meetecho/janus-gateway.git
cd janus-gateway
sh autogen.sh
./configure --disable-data-channels --disable-websockets --disable-rabbitmq --disable-docs --prefix=/opt/janus LDFLAGS="-L/usr/local/lib -Wl,-rpath=/usr/local/lib" CFLAGS="-I/usr/local/include"

make && sudo make install
sudo make configs

运行它:
cd /opt/janus/bin/
./janus -F /opt/janus/etc/janus/

关于installation - Janus WebRTC 安装问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34602319/

31 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com