This is a fork of obs-ios-camera-source that supports Linux.
To use this you use the accompanying iOS app to begin streaming in OBS.
(Confirmed working on Manjaro as of 06 Oct 2022 by @seffyroff)
Go to the releases section of this repository and download the latest release. After downloading, place the zip file in your home directory and run:
unzip plugin-ubuntu-*.zip
You must have the unzip
package installed for this to work: sudo apt install unzip
.
sudo apt install build-essential git cmake libavcodec-dev libssl-dev pkg-config
git clone https://github.com/dougg3/obs-ios-camera-source.git
cd obs-ios-camera-source
mkdir build
cd build
cmake ..
make -j$(nproc)
mkdir -p ~/.config/obs-studio/plugins/obs-ios-camera-source/data/locale
mkdir -p ~/.config/obs-studio/plugins/obs-ios-camera-source/bin/64bit
cp ../data/locale/en-US.ini ~/.config/obs-studio/plugins/obs-ios-camera-source/data/locale/
cp obs-ios-camera-source.so ~/.config/obs-studio/plugins/obs-ios-camera-source/bin/64bit/
Note for Ubuntu 18.04 users: this plugin now requires a newer version of CMake than what was bundled originally. Either use the premade binaries, or upgrade your CMake.
sudo dnf install obs-studio-devel cmake openssl-devel git make automake gcc gcc-c++ ffmpeg-devel
sudo pacman -S git make gcc cmake pkg-config
Note: Depending on how OBS is installed, SteamOS users may need to explicitly install
ffmpeg
in addition to the above mentioned prerequisites should they encounter compilation errors around missinglibavcodec
:
sudo pacman -S ffmpeg