Uses the obs_frontend_add_scene_collection function for CreateSceneCollection instead of relying on the undocumented AddSceneCollection.
Motivation and Context
The "AddSceneCollection" method will likely be removed in a future (probably the next) version of OBS.
The frontend API function is currently just a wrapper around that method but that will be a problem for future me when I actually remove AddSceneCollection, it will continue to work.
How Has This Been Tested?
Tested OS(s):
macOS 13.2.1
Compiled successfully. Don't use websockets so can't test otherwise.
Types of changes
Bug fix (non-breaking change which fixes an issue)
Description
Uses the
obs_frontend_add_scene_collection
function forCreateSceneCollection
instead of relying on the undocumentedAddSceneCollection
.Motivation and Context
The "AddSceneCollection" method will likely be removed in a future (probably the next) version of OBS. The frontend API function is currently just a wrapper around that method but that will be a problem for future me when I actually remove
AddSceneCollection
, it will continue to work.How Has This Been Tested?
Tested OS(s): macOS 13.2.1
Compiled successfully. Don't use websockets so can't test otherwise.
Types of changes
Checklist:
master
or arelease/*
branch.