For sharing a window directly we are using following method
- (ZoomSDKError)startAppShare:(CGWindowID)windowID displayID:(CGDirectDisplayID)displayID;
It is returning 0 (success) but sharing call delegate is not calling
- (void)onSharingStatus:(ZoomSDKShareStatus)status User:(unsigned int)userID;
Initially it used to share but suddenly it stopped working.It started when I passed window id as 0 and display ID as 0 (It also worked for 5 trials).Now it is not working at all.