Description
I am always getting a 200 error when calling enableGreenVB. Sometimes it enables despite the 200. But it never disables. Here is the code:
@objc private func switchValueDidChange(_ sender: UISwitch) {
guard let service = MobileRTC.shared().getMeetingService(),
service.isSupportSmartVirtualBG() else {
assertionFailure("No service")
return
}
let result = service.enableGreenVB(sender.isOn)
if result != .success {
os_log(.error, log: .zoomSdk, "enableGreenVB failed: %d", result.rawValue)
}
}
Here is my log:
2021-10-19 11:09:49.147935-0700 ClassForZoom[1789:1380899] invalid mode 'kCFRunLoopCommonModes' provided to CFRunLoopRunSpecific - break on _CFRunLoopError_RunCalledWithInvalidMode to debug. This message will only appear once per execution.
2021-10-19 11:09:49.150286-0700 ClassForZoom[1789:1380899] [zoomSDK] enableGreenVB failed: 200
I think that probably the first entry, _CFRunLoopError_RunCalledWithInvalidMode, is coming from the Zoom SDK.
Which iOS Meeting SDK version?
Tried with both
iOS Meeting SDK v5.7.6
Meeting SDK iOS v5.7.6.1080 (hotfix)
Smartphone (please complete the following information):
Hmm that is strange, can you reproduce the issue one more time and then obtain the SDK logs from that instance and send them to me at developersupport@zoom.us? Please include a link to this post and mention my name.
Instructions for obtaining the logs can be found here:
The logs indicate that the device used was a iPad Mini 5th gen, which does not support virtual backgrounds. Could you send over new logs from an iPad that does support virtual backgrounds?
Sorry, I was not aware that iPad Mini 5th gen does not support virtual backgrounds. I have been using virtual backgrounds on this device in both my app and the Zoom app without a problem – except for Green Screen.