wtsnz / obs-ios-camera-source

Use your iPhone camera as a video source in OBS Studio and stream high quality video from your iPhone's camera over USB

Home Page:https://obs.camera/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OBS 29.1 RC-1 Support?

ArchiCroc opened this issue · comments

I'm testing the new OBS 29.1-RC1 as fresh install on Windows 10 and the plugin v2.9.4 doesn't seem to be loading.

the OBS Log says:

LoadLibrary failed for '../../obs-plugins/64bit/obs-ios-camera-source.dll': The specified module could not be found.

I checked the permissions on the DLL file and it's not blocked and has read/execute permissions granted.

I also loaded it in my local build of OBS Studio 29.1-RC1 and the Visual Studio Pro debugger didn't provide much more insight:

'obs64.exe' (Win32): Loaded 'C:\Projects\obs-studio\build\rundir\Debug\obs-plugins\64bit\obs-ios-camera-source.dll'. Symbols loaded.
'obs64.exe' (Win32): Unloaded 'C:\Projects\obs-studio\build\rundir\Debug\obs-plugins\64bit\obs-ios-camera-source.dll'
LoadLibrary failed for '../../obs-plugins/64bit/obs-ios-camera-source.dll': The specified module could not be found.
(126)
Module '../../obs-plugins/64bit/obs-ios-camera-source.dll' not loaded
Failed to load module file '../../obs-plugins/64bit/obs-ios-camera-source.dll', file not found

Do you have any instructions on how to build the plugin from source? I'm happy to try and troubleshoot it further. I've tinkered with getting other plugins working on the new 29.1 release.

Hey @ArchiCroc

Thanks for the issue. I'll take a look.

As a bit of background, every time there is a new major release of OBS Studio I have to rebuild the plugin. I have not yet gotten to the bottom as to why I have to do this each and every time. In order to improve this, I've been rewriting the plugin to use the obs-plugin-template as a base - hoping that it'll modernize the build process from what it is today! - so far I've got it to a point that it creates build quite reliably.

To that point, I've just created a build and attached the windows binary's if you'd like to test them!

obs-ios-camera-source-2.9.5-windows-x64.zip
obs-ios-camera-source-2.9.5-windows-x64-Installer.exe.zip

I'll see if I can get the changes to the project published this week. Its been long overdue.

Thanks, I'll give it a try. I'm glad you are refactoring it to use the obs-plugin-template. The OBS-websockets plugin got pulled in as an OBS submodule and is no longer a great example. Seems a lot changed in the last OBS cycle with dropping of 32bit support, the switch to QT6, bumping the FFmpeg version, and switching to Visual Studio 2022.

I tinkered more with your plugin last night and got my own build to compile using that method. Cmake and linking libobs caused me trouble, so I tried dougg3's fork which has a refactored cmakelist that was easier for me to understand. When building, libimobiledevice/libusbmuxd generated a bunch of warnings but it seems to work ok. I will be doing more testing this weekend.