Skip to content

installation

This page explains a lot : visit

But not all, this command in the readme will not work because of libsrtp-dev, so look up the correct version (in bullseye libsrtp2-dev. Or use this updated command :

install janus
1
2
3
4
aptitude install libmicrohttpd-dev libjansson-dev \
libssl-dev libsrtp2-dev libsofia-sip-ua-dev libglib2.0-dev \
libopus-dev libogg-dev libcurl4-openssl-dev liblua5.3-dev \
libconfig-dev pkg-config gengetopt libtool automake

Next you are advised to install libnice from source :

libnice
1
2
3
git clone https://gitlab.freedesktop.org/libnice/libnice
cd libnice
meson --prefix=/usr build && ninja -C build && sudo ninja -C build install

But the meson command was not present and after that it will fail on gobject-introspection-1.0 To fix both problems, install these packages

packages
apt-get install meson libgirepository1.0-dev libusrsctp-dev libwebsockets-dev

The second package contains the pkg-config files needed for the meson command. So retry the meson command. The libusrsctp library is said to not be available in repositories but it is so i skip the source installation of that. Same goes for libwebsockets-dev.

Now there come a lot of these install sections in the readme, so i skipped to the janus install so we see ourselves what is missing.

janus
1
2
3
4
5
git clone https://github.com/meetecho/janus-gateway.git
cd janus-gateway
sh autogen.sh
./configure --prefix=/opt/janus
apt-get install libnanomsg-dev librabbitmq-dev libpaho-mqtt-dev