AVCaptureSession startRunning Main Thread Checker: UI API called on a background thread

Description

  1. iOS start share . Console log " **Thread Performance Checker: -[AVCaptureSession startRunning] should be called from background thread. Calling it on the main thread can lead to UI unresponsiveness
    **

Which version?
Zoom Video SDK 1.11.2 Latest

To Reproduce(If applicable)
Steps to reproduce the behavior:

  1. Open App
  2. Start / Stop camera

Screenshots

Yeah same problem here, calling videoHelper.switchCamera(), videoHelper.startVideoCanvasPreview or videoHelper.startVideo() gives you a thread issue.

For example if you call videoHelper.startVideoCanvasPreview on the main tread you get the error “-[AVCaptureSession startRunning] should be called from background thread. Calling it on the main thread can lead to UI unresponsiveness”

if you call it on a background thread you get this “-[UIView bounds] must be used from main thread only”