Spotlight a user

Spotlighting a user calls attention to that user's video for everyone in the session, regardless of who is talking. Spotlight controls are available to the session host and are called on IZoomVideoSDKVideoHelper.

Spotlight a user

To spotlight a user, call spotLightVideo with the user's IZoomVideoSDKUser. The user must have their video on.

IZoomVideoSDKVideoHelper* pVideoHelper = m_pVideoSDK->getVideoHelper();
pVideoHelper->spotLightVideo(pUser);

Remove spotlight from a user

To remove the spotlight from a single user, call unSpotLightVideo.

m_pVideoSDK->getVideoHelper()->unSpotLightVideo(pUser);

Remove spotlight from everyone

To clear all spotlights at once, call unSpotlightAllVideos.

m_pVideoSDK->getVideoHelper()->unSpotlightAllVideos();

Get the list of spotlighted users

To read the users who are currently spotlighted, call getSpotlightedVideoUserList.

IVideoSDKVector<IZoomVideoSDKUser*>* pSpotlighted = m_pVideoSDK->getVideoHelper()->getSpotlightedVideoUserList();

To respond when the spotlighted users change, implement onSpotlightVideoChanged. For details, see Listen for video events.