This is a browser source plugin for obs-studio (https://github.com/jp9000/obs-studio) based on Chromium Embedded Framework (https://bitbucket.org/chromiumembedded/cef). This plugin is Linux only.
Unfortunately, I was not able to make obs-browser (https://github.com/kc5nra/obs-browser) work on Linux, so I decided to create a separate plugin using the same engine, so both plugins should have feature parity in terms of browser capabilities.
- Download CEF binary release from http://opensource.spotify.com/cefbuilds/index.html
- Extract and cd into folder
- Run
cmake ./ && make
Make sure you have obs-studio installed. You might need to set OBS_INCLUDE and OBS_LIB
env variables (see Makefile).
-
export
CEF_DIRenvironment variable setting it to downloaded and built CEF release, for exampleexport CEF_DIR=/opt/cef -
cd into obs-linuxbrowser directory and run
make
Run make install to copy plugin binaries into $HOME/.config/obs-studio/plugins.
You can enable flash by providing path to pepper flash library file and its version. Some distributions provide packages with the plugin, or you can extract one from google chrome installation. Flash version can be found in manifest.json that is usually found in same directory as .so file.
Mp3 support in CEF binary releases is turned off due to legal reasons. If you want to turn it on, you would have to build CEF from scratch yourself.
In order for sound to work in the alerts, you will have to enable either mp3 support or flash (even if you are playing .ogg file).
