Janus

From Open Source Ecology
Jump to: navigation, search

Janus is an open source, highly extensible, lightweight (written in C) WebRTC Gateway made by Meetecho

You can test many of the demos on their website, such as the Video Room.

Jangouts

Jangouts (short for "Janus Hangouts") is an open source, self-hosted alternative to Google Hangouts. It's backed by the Janus Gateway and its videoroom plugin.

POC

In 2018, OSE began testing running our own self-hosted Janus Gateway since the public Jitsi Meet site run by Atlassian for free (https://meet.jit.si) struggles with 5-12 participants.

Installation in CentOS 7

These commands will install Jitsi Meet on a Centos7 server. The best resources for this are:

  1. https://github.com/meetecho/janus-gateway/blob/master/README.md
  2. https://janus.conf.meetecho.com/docs/rest.html#plainhttp
# install epel
yum -y install epel-release

# install other depends, per the documentation
yum -y install libmicrohttpd-devel jansson-devel libnice-devel openssl-devel libsrtp-devel sofia-sip-devel glib-devel opus-devel libogg-devel libcurl-devel lua-devel pkgconfig gengetopt libtool autoconf automake

# install other depends, per my discovery of their necessity
yum -y install glibc2-devel
yum --enablerepo=* -y install libnice-devel jansson-devel lua-devel

# install usrsctp for Data Channels support (ie: text chat)
pushd /root/sandbox
git clone https://github.com/sctplab/usrsctp
pushd usrsctp
./bootstrap
./configure
make
make install
popd
popd

# add lib dir
cat << EOF > /etc/ld.so.conf.d/janus.conf
/usr/lib
/usr/local/lib
/opt/janus/lib/janus/plugins
EOF
ldconfig

# get & compile janus gateway
mkdir -p $HOME/sandbox
pushd $HOME/sandbox
git clone https://github.com/meetecho/janus-gateway.git
cd janus-gateway
sh autogen.sh

./configure --prefix=/opt/janus
make
make install
make configs

# TODO: config https transport + admin

See also

Videoconferencing

Janus Testing

Janus Testing