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.
The OBS plugin is included in the main source tree of Looking Glass. The building process is very similar to the client’s.
The OBS plugin requires the following extra dependencies alongside the client’s build dependencies.
Install this package with
apt-get install libobs-dev
You can install the plugin for all users by running
make install as root.
If you’d rather install for your local user, copy
liblooking-glass-obs.so to the correct path for local plugins.
mkdir -p ~/.config/obs-studio/plugins/looking-glass-obs/bin/64bit cp liblooking-glass-obs.so ~/.config/obs-studio/plugins/looking-glass-obs/bin/64bit
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.