On macOS 10.13 and below NSOpenGLViews deadlock when they have a layer attached to them.
You can see other people have reported this generic error here https://openradar.appspot.com/37064579.
ZoomSDKNormalVideoElement makes use of the NSOpenGLView and thus deadlocks when you turn on layers. You can reproduce this in the demo if you add a CALayer to the parent view that are renders the video stream.
One solution is to migrate to metal or give developers better hooks into the rendering layer.
To Reproduce(If applicable)
Steps to reproduce the behavior:
- In the macos sample demo turn on a CALayer on the parent view that renders ZoomSDKNormalVideoElement. Do this by doing view.wantsLayer = YES;
- Join a call with multiple clients so that you are rendering multiple steams.
- It should deadlock within 5seconds.