- 1 Looking Glass plugin for Open Broadcaster Software
- 2 Open Broadcaster Software
Looking Glass plugin for Open Broadcaster Software
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' experience watching your stream, and allows you to use your host without them seeing.
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.
Please install this package or the equivalent in your package manager.
Debian / Ubuntu
apt-get install libobs-dev
Fedora 29+ (RPM Fusion)
dnf install obs-studio-devel
zypper in obs-studio-devel
Arch Linux / Manjaro
Devel files included in main package
pacman -Syu obs-studio
xbps-install -Syu obs-devel
These instructions are the same as when building the client
mkdir obs/build cd obs/build cmake ../ make
The resulting liblooking-glass-obs.so file should be placed in your OBS plugin directory.
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. The configuration only requires the IVSHMEM file that is 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/
It's available under most distributions as obs-studio or just obs.