OBS plugin

You can add a Looking Glass video feed to OBS as a video source with the included OBS plugin. This provides a lower-latency alternative to capturing the Looking Glass client window with a Screen or Window Capture source.

This may help improve your viewers’ watching experience, and allows you to use your host privately.

Build instructions

The OBS plugin is included in the main source tree of Looking Glass. The building process is very similar to the client’s.

Dependencies

The OBS plugin requires the following extra dependencies alongside the client’s build dependencies.

  • libobs-dev

Install this package with apt-get

apt-get install libobs-dev

Building

These instructions are similar to building the client.

mkdir obs/build
cd obs/build
cmake -DUSER_INSTALL=1 ../
make

Alternatively, if you would like to install the plugin for all users:

mkdir obs/build
cd obs/build
cmake ../
make

Installation

You can install the plugin by running make install.

make install

If you’ve opted to install the plugin for all users, you will need to run this command as root.

sudo make install

Setup

Once installed, you can select the “Looking Glass Client” source from the OBS sources menu. Configuration requires the IVSHMEM file used by the VM, and this is pre-populated with the default filename for Looking Glass.

Open Broadcaster Software

The plugin is made for OBS, an open source streaming and recording studio. Find out more at https://obsproject.com/

OBS is available under most distributions as obs-studio or just obs.

Screenshots

Adding the plugin as a video source

Adding the plugin as a video source

Plugin configuration settings

Plugin configuration settings