Open ArchiCroc opened 1 year ago
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.
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:
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:
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.