Back to services

Janus

General-purpose, lightweight, minimalist WebRTC Server.

View alternatives to Janus
Suggest edit
Open source
Self-hostable
GPL-3.0
Recent reviews

Alternatives

Tech stack

No tech stack added yet. Sign in to suggest some

Note: We couldn't fetch the official website this time, so the content below is based on what is well established about Janus. For version details and the latest features, please refer to the official website https://janus.conf.meetecho.com/ and the GitHub repository (meetecho/janus-gateway).

Overview

Janus (short for Janus WebRTC Server, formerly known as Janus WebRTC Gateway) is an open-source WebRTC server developed by the Italian company Meetecho. It is written in C and released under the GPLv3 license. Its design philosophy is to be "general purpose": the core handles only the low-level WebRTC work, including ICE/STUN/TURN negotiation, DTLS-SRTP encryption, and sending, receiving and relaying RTP/RTCP. All specific business logic lives in plugins, which developers can combine as needed or write themselves.

Key Features

Janus ships with several commonly used plugins:

  • VideoRoom: multiparty audio/video conferencing and publish/subscribe based on an SFU (Selective Forwarding Unit), with support for Simulcast and SVC
  • AudioBridge: voice conference rooms with server-side audio mixing, suited to multiparty voice calls
  • Streaming: distributes audio and video streams from external sources such as RTP to browsers via WebRTC, usable for live streaming and watching surveillance feeds
  • SIP / NoSIP: interoperability between WebRTC and SIP/VoIP systems
  • VideoCall / EchoTest: one-to-one calls and loopback testing
  • TextRoom: DataChannel-based text chat rooms
  • Record&Play: recording and playing back WebRTC sessions

Clients can access the Janus API through the following transports:

  • HTTP/REST, WebSockets
  • RabbitMQ, MQTT, Nanomsg, Unix Sockets

It also provides:

  • Admin API: for monitoring and managing sessions
  • Event Handlers: push runtime events to external systems for monitoring and analysis
  • janus.js: the official JavaScript client library, making it easy to connect from the browser

Target Users and Use Cases

Janus is mainly aimed at developers and businesses that need to build their own real-time audio/video capabilities. Common uses include:

  • Building video conferencing, online classroom and remote collaboration platforms
  • Low-latency WebRTC live stream distribution
  • Connecting browsers to existing SIP phone systems
  • Watching IP camera or surveillance feeds in the browser
  • IoT, remote control and other scenarios that require real-time media transport

Core Strengths

  • Lightweight and efficient: implemented in C, with a small resource footprint and good performance
  • Modular: plugins, transports and event handlers are all pluggable, making it highly extensible
  • Standards-based: a complete implementation of the WebRTC standards, compatible with major browsers
  • Mature community: open source for many years, with extensive documentation, examples and community resources; Meetecho also offers commercial support

Installation and Deployment

Janus runs mainly on Linux (it can also be compiled on macOS) and is usually built and installed from source. The basic steps are:

  1. Install the dependencies. Common ones are libnice, libsrtp, Jansson, libconfig, OpenSSL and GLib. Then add, as needed, libmicrohttpd (HTTP transport), libwebsockets (WebSockets transport), usrsctp (DataChannel), and so on.
  2. Get the source code and build it: git clone https://github.com/meetecho/janus-gateway.git, then, in the directory, run sh autogen.sh, ./configure --prefix=/opt/janus, make && make install and make configs in order.
  3. Edit the .jcfg files in the configuration directory to set the plugins, transports, STUN/TURN and other parameters, then start janus.

Things to Note

  • For public deployments, you usually need a TURN server (such as coturn) to traverse NAT
  • Browsers require an HTTPS environment to access the camera and microphone
  • Janus itself doesn't provide a complete end-user interface; it is more of a development framework, and you need to build your own business application on top of its API