I’m using the Windows Client SDK with the C# wrapper, both versions 5.4.54802.0124, with Visual Studio 2019.
I’m sending a sequence of spotlight and unspotlight instructions using the SpotlightVideo and UnSpotlightVideo calls. I have defined a callback routine using onSpotlightVideoChangeNotification. Having called (Un)SpotlightVideo once I wait for the callback routine to be called before calling (Un)SpotlightVideo again.
The parameters to the callback routine (bool bSpotlight and uint userid) are sometimes set as I would expect, but sometimes not, in any of 3 ways:
- After a successful SpotlightVideo call bSpotlight is false and userid is zero.
- After a successful UnSpotlightVideo call bSpotlight is true and userid is set to a user that was already and is still spotlighted.
- After a successful SpotlightVideo or UnSpotlightVideo call the callback routine is not called.
Can anyone suggest what I can do to reliably send a sequence of (un)spotlight calls?