Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Janus WebRTC installation issue

I am installing Janus WebRTC Gateway in a Ubuntu Machine (14.04 64 bit). I followed the instructions as in the following link:

However, I get the following error when trying to execute janus:

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

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

Anyone has any idea what the issue might be? I will only use the REST API without WebStockets or RabbitMQ.

like image 452
user496607 Avatar asked Feb 09 '23 03:02

user496607


1 Answers

I successfully installed Janus on Ubuntu 14 according to the following steps:

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

Running it by:

cd /opt/janus/bin/
./janus -F /opt/janus/etc/janus/
like image 185
Olga Khylkouskaya Avatar answered Feb 10 '23 15:02

Olga Khylkouskaya