Skip to content
This is a fork of OBS-studio with support for webrtc in general, and Janus Video Room plugin in particular. More webrtc server support will be added in the future.
Branch: master
Clone or download
Latest commit 5e2ae36 Dec 10, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
additional_install_files Improve additional_install_files for debug/release Jul 19, 2014
cmake Update CMake for windows package (#50) Oct 18, 2018
docs/doxygen [ENH]OBS version 19.0.0 Mar 1, 2018
libobs-d3d11 [ENH]OBS version 21.0.3 Mar 7, 2018
libobs-opengl [ENH]OBS version 21.0.3 Mar 7, 2018
plugins Fixes #55, Fixes #31 Dec 10, 2018
test [ENH]OBS version 21.0.3 Mar 7, 2018
.editorconfig [ENH]OBS version 20.0.0 Mar 7, 2018
.gitattributes Fix ffmpeg/x264 find modules according to cmake find module naming co… May 22, 2014
.mailmap mailmap: Disambiguate between another author Feb 22, 2017
AUTHORS [ENH]OBS version 20.0.0 Mar 7, 2018
CMakeLists.txt [WIP] libcurl dependency Jul 3, 2018
README.rst [ENH]OBS version 21.0.3 Mar 7, 2018

OBS-studio WebRTC

This project is a fork of OBS-studio with support for WebRTC. WebRTC supports comes from the inclusion of the open source implementation from used (at least in part) by chrome, firefox, and safari.

The implementation is in the "plugins / obs-outputs" directory, co-existing with the flash and FTL output plugins. The WebRTCStream files contain the high-level implementation, while the xxxx-stream files contain the specific implementation for a given service.

For the time being the following services and sites are supported:

  • Janus
  • (SpankChain)

This is mainly a community project with a best effort service. The maintainers of this repository are all based in Singapore, so please take the timezone into account. If you file a ticket at 2am, you won't get an answer for at least 7 hours.

If you need more support, or custom developement, please contact CoSMo software.

Table of content


Pre-built and tested Binaries are available here.

Windows linux or macos


The current recommended way of compiling libwebrtc is documented on the libwebrtc website. More specifically:

Note that the recommended version of MSVC 2017 is older that the one you would download today, but we can confirm that the latest one works. There is no specific problem on linux or mac.

This repository code is based on the stable branch 65 of It should be updated to 69 next, by the end of october 2018.

OpenSSL build of libwebrtc might not be needed. The flags are already in place in google's code to get that build. More specifically, if you look at the source code, you will see the SSL flags which needs to be passed to the GN GEN command that allow to use an external SSL library, if you need to (line 43):

You do NOT depend on any external libwebrtc package one might provide. However, compilation of libwebrtc is an under documented process with strong ties to dark magic. From time to time, when people ask nicely, we compile it for them to make their life easier. If you think the compilation of the code from is too difficult, and it makes depending projects NOT easily reproducible, please let Google know, Their bug tracker is there:

Compilation, Installation and Packaging

Follow the original compilation, Installation and packaging guide

Usage with a Janus server

Configure JANUS

Configure a JANUS server using the video room plugin with websocket secure protocol enabled. (you can enable TLS inside the config file janus.transport.websockets.cfg or e.g directly use Nginx).

For now OBS-Webrtc support only connection through wss. You can directly use their test webpage videoroomtest.html to receive the stream from OBS-webrtc.

OBS settings

Launch OBS, go to settings, select the stream tab and change the URL to point to your JANUS server (wss://xxx). if using videoroomtest.html, the default "Server room" value is 1234.

You can’t perform that action at this time.