I am having issues enabling and controlling the states of multi stream camera devices in 2 situations:
IZoomVideoSDK* mpVideoSDK = CreateZoomVideoSDKObj(); IZoomVideoSDKVideoHelper* pVideoHelper = mpVideoSDK->getVideoHelper();
In short, after joining a zoom session every call made to enable a multi stream camera device with
pVideoHelper->enableMultiStreamVideo(dev_id, "anything-here"); fails. The device id being used was acquired from a
IZoomVideoSDKCameraDevice* pointer to a device derived from
pVideoHelper->getCameraList(), so I am sure the device id is correct, also because I can use the very same device id to select the normal camera device with
pVideoHelper->selectCamera(dev_id); (did that just for test purposes). Bigger problem here is that the return of
pVideoHelper->enableMultiStreamVideo is boolean, so I either know if it worked or not, don’t really get a reason behind the failure.
The workaround is to execute the code to select the multi stream camera device before joining a session, then it gets enabled and I get no error whatsoever, which leads me to the second issue;
It is what it says, once the multi stream camera device gets enabled and session joined, any subsequent calls to
pVideoHelper->enableMultiStreamVideo have no effect whatsoever. I also don’t get any error (get true as return of both functions) which misleads the actual behavior of the operation.
Goal: to be able to enable/disable multi stream camera devices at will being in a Zoom Session or not
I am ok with the workaround of the first issue if I can later disable/enable as I wish.
Which Windows Video SDK version?
- Device: [e.g. Lenovo Thinkpad p15s]
- OS: [e.g. Windows 10]