Description
UnSpotlightAllVideos() function not working
Which Windows Meeting SDK version?
5.10.3.4884
To Reproduce(If applicable)
Programmatically, worked fine with older versions up until Version 5.10.3.4884 stops working
I am programming autospotlight function
ZOOM_SDK_NAMESPACE::IMeetingVideoController* videoCtrl = pMeetingService->GetMeetingVideoController();
videoCtrl->UnSpotlightAllVideos();
if (videoCtrl->SpotlightVideo(user_id) == ZOOM_SDK_NAMESPACE::SDKERR_SUCCESS)
{ #endif
m_currentSpotlightUserId = i;
if (m_autoSpotlightOn)
{
ClearSpotlightTimer();
SetSpotlightTimer();
}
// done
status = true;
break;
}
Can you please clarify what you mean when you say it isn’t working? Are you seeing a specific error, or is the method returning success with no effect?
When I run zoom with my account login, I can share “my Zoom Window Destop” just fine. I.e. I have my Zoom Gallery view on my desktop and Everyone will see my sharing gallery view.
I am trying the same thing with the SDK, evenone only see the background of my desktop, not the Gallery View.
As mentioned in my previous reply, we need more information before we can assist. Just saying that something doesn’t work is not adequate, as there are multiple failure points. Please let me know if you need assistance with identifying and communicating what exactly is not working with regard to this feature and I’ll be happy to help.
There are too many issue with the windows SDK lately.
unSpotlightUsersVideo
UnSpotlightUserVideo
Are not working progammatically i.e. when I spotlight a participant, then i try to remove that participant before I spotlight the next participant. the result is the next participant added to the existing spotlighted participants.
I was not able to reproduce the behavior you are seeing. Removing individual users from the spotlight or all users programmatically works as expected. Let’s try to narrow down where our implementations differ. Can you please provide context around when exactly you are calling UnSpotlightAllVideos?
Hi Jon,
Here is my code. I retested all versions and found it worked fine with 5.9.3.3191. All versions after this version UnSpotlightAllVideos() have no effect. i.e. it does not remove the spotlighted user.
In results, users are kept added when this function is called.
boolean CSDKLoggedInUIMgr::SpotlightUserID(unsigned int user_id, int Index)
{
boolean status = false;
ZOOM_SDK_NAMESPACE::IMeetingService* pMeetingService = SDKInterfaceWrap::GetInst().GetMeetingService();
if (!pMeetingService)
return status;
ZOOM_SDK_NAMESPACE::IMeetingVideoController* videoCtrl = pMeetingService->GetMeetingVideoController();
if (!videoCtrl)
return status;
videoCtrl->UnSpotlightAllVideos(); // remove previously spotlighted user
if (videoCtrl->SpotlightVideo(user_id) == ZOOM_SDK_NAMESPACE::SDKERR_SUCCESS)
{
{
RegAttendeesList[Index].spotlightcounter++;
}
status = true;
start_PinValidUsertimer(); // 5 seconds timer
}
return status;
}
My testing was done on the latest version of the SDK (5.10.3), so this seems to be an issue with your implementation and does not appear to be a bug in the SDK. The code snippet you’ve provided does not give me enough context to know when exactly it is being executed. Can you please provide that information?