# Window filtering during monitor screen share (followup)

**URL:** <https://devforum.zoom.us/t/window-filtering-during-monitor-screen-share-followup/68897>\
**Category:** macOS\
**Created:** [May 12, 2022, 9:47pm UTC](https://devforum.zoom.us/t/window-filtering-during-monitor-screen-share-followup/68897 "2022-05-12T21:47:41Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![KieranAC](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/kieranac/32/35367_2.png) [@KieranAC](https://devforum.zoom.us/u/KieranAC)\
**Post date:** [May 12, 2022, 9:47pm UTC](https://devforum.zoom.us/t/window-filtering-during-monitor-screen-share-followup/68897/1 "2022-05-12T21:47:41Z")

</div>

**Description**  
Followup from this thread:

> [@Window Filtering (screen share) in the SDK](https://devforum.zoom.us/t/window-filtering-screen-share-in-the-sdk/61896/2):
>
> Hi @KieranAC, thanks for the post. The setting you are referring to can be changed in the SDK through the [setShowZoomWindowWhenShare](https://marketplacefront.zoom.us/sdk/meeting/macos/interface_zoom_s_d_k_share_screen_setting.html#ae2a151247bdf6d93b13dceaa10ab3752) method. Thanks!

At some point, this was ‘fixed’. I have since upgraded to the latest SDK (v5.10.3.6470) but the behaviour has now switched.

Before, it was not possible to _hide_ our client windows. Now, the SDK seems to hide the windows by default, but it is not possible to _show_ the windows.

The SDK API returns the same error as before, just flipped. Passing ‘NO’ works, but passing ‘YES’ returns the WrongUsage error.

This is a preferable scenario for us, since we can still do application share of our own window if necessary, but it would still be nice to have the option to change this.

**Which macOS Meeting SDK version?**  
v5.10.3.6470  
MacOS 12.3.1

See linked thread for context

> [@Window Filtering (screen share) in the SDK](https://devforum.zoom.us/t/window-filtering-screen-share-in-the-sdk/61896/2):
>
> Hi @KieranAC, thanks for the post. The setting you are referring to can be changed in the SDK through the [setShowZoomWindowWhenShare](https://marketplacefront.zoom.us/sdk/meeting/macos/interface_zoom_s_d_k_share_screen_setting.html#ae2a151247bdf6d93b13dceaa10ab3752) method. Thanks!

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [May 16, 2022, 9:19pm UTC](https://devforum.zoom.us/t/window-filtering-during-monitor-screen-share-followup/68897/2 "2022-05-16T21:19:43Z")

</div>

Hi @KieranAC,

Since you are unable to enable this setting, it seems likely that this setting is not available for the current meeting. Can you please confirm what you are seeing when you call [`isSupportShowZoomWindowWhenShare`](https://marketplacefront.zoom.us/sdk/meeting/macos/interface_zoom_s_d_k_share_screen_setting.html#a99ced7251d99b7d96ea1cf246f24bc10)?

Thanks!

---

<div class="post-metadata">

**Author:** ![KieranAC](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/kieranac/32/35367_2.png) [@KieranAC](https://devforum.zoom.us/u/KieranAC)\
**Post date:** [May 17, 2022, 11:12am UTC](https://devforum.zoom.us/t/window-filtering-during-monitor-screen-share-followup/68897/3 "2022-05-17T11:12:34Z")

</div>

Yes you’re right, this returns false

```auto
[[[[ZoomSDK sharedSDK] getSettingService] getShareScreenSetting] isSupportShowZoomWindowWhenShare]

```

---

<div class="post-metadata">

**Author:** ![KieranAC](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/kieranac/32/35367_2.png) [@KieranAC](https://devforum.zoom.us/u/KieranAC)\
**Post date:** [May 17, 2022, 11:29am UTC](https://devforum.zoom.us/t/window-filtering-during-monitor-screen-share-followup/68897/4 "2022-05-17T11:29:47Z")

</div>

I did confirm that this setting is set for my Zoom account

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/b/d/bd0d73e4bc2f02d88e728539ddab66fe8348aa38.png)

and the setting still returns false. Is there anything else that can influence that setting?

---

<div class="post-metadata">

**Author:** ![KieranAC](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/kieranac/32/35367_2.png) [@KieranAC](https://devforum.zoom.us/u/KieranAC)\
**Post date:** [May 17, 2022, 5:31pm UTC](https://devforum.zoom.us/t/window-filtering-during-monitor-screen-share-followup/68897/5 "2022-05-17T17:31:37Z")

</div>

We also checked an account level setting and turned that on as well. Same result as previous.

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [May 18, 2022, 6:40pm UTC](https://devforum.zoom.us/t/window-filtering-during-monitor-screen-share-followup/68897/6 "2022-05-18T18:40:50Z")

</div>

Hi @KieranAC,

This setting can be applied at the account, user, or group level. Are you sure that this is being applied to the account hosting the meeting and not your developer account? Settings applied to your developer account do not propagate to meetings started through the SDK. One way you can verify this is by starting a meeting through the Zoom client and checking if the setting is available through the settings UI.

Thanks!

---

<div class="post-metadata">

**Author:** ![KieranAC](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/kieranac/32/35367_2.png) [@KieranAC](https://devforum.zoom.us/u/KieranAC)\
**Post date:** [May 20, 2022, 10:33am UTC](https://devforum.zoom.us/t/window-filtering-during-monitor-screen-share-followup/68897/7 "2022-05-20T10:33:17Z")

</div>

Hey @jon.zoom

We created a new meeting, made sure the setting was applied to both the user (the host of the meeting) and account level, and joined the meeting from the Zoom client and our own app. (With the same account)

The share screen setting is available in the Zoom app, but not our custom app.

In Zoom, this setting hides the Zoom windows in share content (visible in our app)  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/2/a/2aa315d462a00f6de09119577e1a18852e20197f.png)

this setting shows the Zoom windows  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/3/4/3405c96b82e1ae2c1c4223af1901bade804054b1.png)

there are other settings available:  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/d/d/dd497808612c5ae806a5017d6c41ff1065145df5.png)

In our custom client, all of our app windows are permanently hidden regardless as the setting is not settable.

I feel like we’re missing something here, but not sure what it could be. Would logs help?

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [May 23, 2022, 10:53pm UTC](https://devforum.zoom.us/t/window-filtering-during-monitor-screen-share-followup/68897/8 "2022-05-23T22:53:16Z")

</div>

Hi @KieranAC,

Since you are seeing different results between the Zoom client and the SDK under identical circumstances, I think you’re thinking in the correct direction with getting the SDK logs so we can investigate exactly what is going on.

Thanks!

---

<div class="post-metadata">

**Author:** ![KieranAC](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/kieranac/32/35367_2.png) [@KieranAC](https://devforum.zoom.us/u/KieranAC)\
**Post date:** [May 29, 2022, 3:49pm UTC](https://devforum.zoom.us/t/window-filtering-during-monitor-screen-share-followup/68897/9 "2022-05-29T15:49:15Z")

</div>

The first log (share\_attempt\_from\_custom\_app\_0.log) is a share attempt from the custom client using my Zoom account. The custom client is in a meeting with the Zoom client app on the same machine with the same login.

In this case, ’ **isSupportShowZoomWindowWhenShare** ’ returned FALSE (in the logs, setting it to NO after the check returns an error). While sharing, Zoom and windows from the custom app are not visible during desktop share. Did not attempt to set it to YES in this case, because that just returns an error.

> **[share\_attempt\_from\_custom\_app\_0.log](https://drive.google.com/file/d/1N4xCiAigxAK3wYSpeN3wq9gAruMwJ1i0/view?usp=sharing)**
>
> Google Drive file.

The second log (share\_attempt\_from\_zoom\_longer.log) is the same meeting, but logs from the custom app while I share screen from the Zoom client. The Zoom client is able to change the window filtering option, and during desktop share, all of the windows (custom app and Zoom app) are visible. I’m not sure if logs from the custom client are useful but I thought I would include it.

![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/3/0/30795794aa283d0df0d5e49f4611e2ed88bd5a6e.png)

> **[share\_attempt\_from\_zoom\_longer.log](https://drive.google.com/file/d/1G-00-L0Hw81XF8ac0YMMt6iPN7wAheH6/view?usp=sharing)**
>
> Google Drive file.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [June 29, 2022, 1:49am UTC](https://devforum.zoom.us/t/window-filtering-during-monitor-screen-share-followup/68897/10 "2022-06-29T01:49:36Z")

</div>

Closed on June 29, 2022, 1:49am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
