We are getting the call to onInitalize, then onStartSend, but then it will shortly call onStopSend then onUnitialize.
We cannot seem to keep the stream active. And we would also like to know if this is even feasible. We are trying to send a CGImage up to Zoom to act like a camera.
Is this possible? Do we need to initialize anything else or what is the correct order to start things up?
Here is a new update. We do now have the correct image being sent to Zoom, and it will show up in meeting. So, this works. However, we are stuck at 640x480 now. Enable Catch HD Video is set to true, and when I check to see if zoom knows that, the return on isCatchHDVideoOn() that returns true as well. So we are asking zoom to capture HD and it says that it will, and so when we send a 720 frame, the view is masking out anything more than 480.
At long last this has been solved. You can do exactly what we was trying to do. However, for any developer that may need this information too, here is a brief fix for the above resolution issue.
Paid accounts can use 720p. The following button has to be set to allow your account to have HD.
After that, you need to open a ticket with Zoom support to have them also enable something on their side.
Never would have thought that unless I didnt stumble onto this video: Complete process to enable HD video
Then when all of this is enabled. You will get a call to onInitialize(_) in the SDK. And you will receive back (if your computer and connection is good enough) the following…
Hope this helps any other developer to understand how this stuff works.