Running the latest version of the macOS SDK I don’t seem to be able to get the call:
- (ZoomSDKError)useVideoFilterItem:(ZoomSDKVideoEffectType)type index:(int)index;
to work, I can change virtual backgrounds so I don’t believe this is a code-signing issue.
To call this I am:
1/ getting a list of filters with
[[[[ZoomSDK sharedSDK] getSettingService] getVirtualBGSetting] getVideoFilterItemList];
2/ setting the filter by - from one of the selected items (“item”) calling
[[[[ZoomSDK sharedSDK] getSettingService] getVirtualBGSetting] useVideoFilterItem: item.getType( index: item.getIndex];
I’m not seeing any error but nothing changes. If I select the filter manually (through settings) the filter is applied happily.
The documentation here is not very clear so I may be doing something wrong?