我在Ubuntu机器(14.04 64位)中安装Janus WebRTC网关.我按照以下链接中的说明操作:
但是,在尝试执行janus时出现以下错误:
https://github.com/meetecho/janus-gateway(readme.md文件)
[致命] [janus.c:main:3670]没有Janus API传输可用...启用至少一个并重启Janus
任何人都知道问题可能是什么?我将只使用没有WebStockets或RabbitMQ的REST API.
我按照以下步骤在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/