Janus
Janus is a [[WebRTC]] Server
Installation
On Ubuntu 22.04
To make sure that you OS is updated to date
apt-get updateInstall dependencies
apt-get install -y 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 libtool automake autoconf git cmakeInstall libnice because the available version in Ubuntu usually case problems.
`libnice` require `meson`, `ninja` and Python 3
```bash
apt-get install meson ninja-build
```git clone https://gitlab.freedesktop.org/libnice/libnice
cd libnice
meson --prefix=/usr build && ninja -C build && ninja -C build installFor what concerns usrsctp, which is needed for Data Channels support, it is usually not available in repositories, so if you're interested in them (support is optional) you'll have to install it manually. It is a pretty easy and standard process:
The same applies for libwebsockets, which is needed for the optional WebSockets support. If you're interested in supporting WebSockets to control Janus, as an alternative (or replacement) to the default plain HTTP REST API, you'll have to install it manually:
The same applies for Eclipse Paho MQTT C client library (if needed), which is needed for the optional MQTT support. If you're interested in integrating MQTT channels as an alternative (or replacement) to HTTP and/or WebSockets to control Janus, or as a carrier of Janus Events, you can install the latest version with the following steps:
Nanomsg support (if needed): apt-get install libnanomsg-dev
RabbitMQ support (if needed):
Note: you may need to pass
--libdir=/usr/lib64to the configure script if you're installing on a x86_64 distribution.
Install Janus
Configure Janus:
On MacOS
Last updated