OBS plugin to capture screen mirroring from iOS and macOS devices
sudo apt-get install -y clang pkg-config libssl-dev libswscale-dev libavcodec-dev libavformat-dev libavutil-dev libswresample-dev git libobs-dev libavahi-compat-libdnssd-dev libplist-dev libfdk-aac-devgit clone https://github.com/coddle-cpp/coddle.git && cd coddle && ./build.sh
sudo ./deploy.sh
cd ..git clone --recurse-submodules https://github.com/mika314/obs-airplay.gitcd obs-airplay
coddleI actually make a symbolic link in the /usr/lib/x86_64-linux-gnu/obs-plugins/ directory.
sudo ln -s /home/mika/prj/obs-airplay/obs-airplay.so /usr/lib/x86_64-linux-gnu/obs-plugins/obs-airplay.soxcode-select --install
brew install \
fdk-aac \
ffmpeg \
libplist \
openssl \
pkg-configIf you do not already have Coddle installed:
git clone https://github.com/coddle-cpp/coddle.git
cd coddle
./build.sh
sudo ./deploy.sh
cd ..# Change “30.2.3” to match your installed OBS version.
git clone --branch 30.2.3 https://github.com/obsproject/obs-studio.gitThis project's library configuration
depends on the OBS source being located in an adjacent directory.
If you want to put the OBS source tree elsewhere,
you will need to update the resources/macos/lib/obs symlink accordingly.
git clone --recurse-submodules https://github.com/mika314/obs-airplay.gitcd obs-airplay
coddleOn macOS, OBS plugins are bundles.
A template is available in the repo
at resources/macos/obs-airplay.plugin.
First, we'll copy that to somewhere OBS will find it;
then we'll symlink our compiled plugin into it.
cp \
-R resources/macos/obs-airplay.plugin \
~/Library/Application\ Support/obs-studio/plugins/
ln -s \
$(realpath obs-airplay.dylib) \
~/Library/Application\ Support/obs-studio/plugins/obs-airplay.plugin/Contents/MacOS/obs-airplay