Update mac virtualcam for streamlabs-desktop #649
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Updates the virtualcam included in obs30 to work with externally outside of OBS.app by configuring it with the
com.streamlabs.slobs
bundle identifier and enabling the swift camera-extension to be downloaded and built by a different repo forcodesign
.Motivation and Context
The former legacy DAL plugin was deprecated by Apple. Enabled the mac obs30 virtual camera to be used with Streamlabs Desktop. This way we are using the same implementation as obs.
I also changed the bundle id in some places into
com.streamlabs.slobs
. It might be possible to revert this in the near future. For now, I enabled it so that we can install the system extension by running a locally codesigned SLOBS.app. After this feature is fully integrated into a codesigned Streamlabs Desktop.app build that change can be removed from most places. The mac-virtualcam plugin (native cpp code) and corresponding system extension will both obviously still need to use our streamlabs bundle id though.How Has This Been Tested?
VIRTUALCAM_BYPASS_SYSTEM_CHECK
environment var (I updated cmake to look for this var when its building the project for xcode). Also tested within an app bundle but w/o codesign.Types of changes
Checklist: