# Disable screen recording in zoom

**URL:** <https://devforum.zoom.us/t/disable-screen-recording-in-zoom/45305>\
**Category:** Android\
**Created:** [March 10, 2021, 6:13am UTC](https://devforum.zoom.us/t/disable-screen-recording-in-zoom/45305 "2021-03-10T06:13:13Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![testpress](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/testpress/32/24298_2.png) [@testpress](https://devforum.zoom.us/u/testpress)\
**Post date:** [March 10, 2021, 6:13am UTC](https://devforum.zoom.us/t/disable-screen-recording-in-zoom/45305/1 "2021-03-10T06:13:13Z")

</div>

I checked other threads and added the following code in my custom meet activity  
`window.setFlags( WindowManager.LayoutParams.FLAG_SECURE, WindowManager.LayoutParams.FLAG_SECURE )`  
In emulator and mobiles like samsung, screen recording is getting disabled. But in chinese mobiles like xiaomi, vivo, one plus, users can able to record screen.

**Which Client Android SDK version?**  
5.4.3

Steps to reproduce the behavior:

1. Join a meeting
2. Start screen recording using az screen recorder

**Additional context**  
I added zm\_config\_conf\_activity in config.xml and made sure my custom meet activity is getting executed.  
I even added logs above `window.setFlags( WindowManager.LayoutParams.FLAG_SECURE, WindowManager.LayoutParams.FLAG_SECURE )` this code, it is getting but screen is still getting recorded.

Please provide a default option to disable screen recording

---

<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:** [March 10, 2021, 6:14pm UTC](https://devforum.zoom.us/t/disable-screen-recording-in-zoom/45305/2 "2021-03-10T18:14:01Z")

</div>

Hi @testpress, thanks for using our SDK.

Can you please clarify whether you’re trying to disable screen sharing in a meeting or prevent only certain views from being shared when you are already screen sharing?

Thanks!

---

<div class="post-metadata">

**Author:** ![testpress](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/testpress/32/24298_2.png) [@testpress](https://devforum.zoom.us/u/testpress)\
**Post date:** [March 17, 2021, 10:22am UTC](https://devforum.zoom.us/t/disable-screen-recording-in-zoom/45305/3 "2021-03-17T10:22:02Z")

</div>

I am trying to disable screen sharing in meeting.

---

<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:** [March 17, 2021, 5:23pm UTC](https://devforum.zoom.us/t/disable-screen-recording-in-zoom/45305/4 "2021-03-17T17:23:56Z")

</div>

Hi @testpress, thanks for confirming.

There are two options for disabling screen sharing: programmatically through the SDK or by modifying the meeting settings.

To do so programmatically, you can use the [`lockShare`](https://marketplacefront.zoom.us/sdk/meeting/android/us/zoom/sdk/InMeetingShareController.html#lockShare-boolean-) method.

You can also modify the `Screen sharing` setting under your [settings profile](https://zoom.us/profile/setting) to disable screen sharing.

 ![Screen Shot 2021-03-17 at 11.21.14 AM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/b/7/b7c7d0cb8f704ed0830778a9ca2c36a22372880a.png)

Thanks!

---

<div class="post-metadata">

**Author:** ![testpress](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/testpress/32/24298_2.png) [@testpress](https://devforum.zoom.us/u/testpress)\
**Post date:** [March 18, 2021, 5:24am UTC](https://devforum.zoom.us/t/disable-screen-recording-in-zoom/45305/5 "2021-03-18T05:24:17Z")

</div>

Hi, I meant Screen recording not screen sharing. We don’t want users to record the meeting using some third party recorders and share it to others.

---

<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:** [March 18, 2021, 4:54pm UTC](https://devforum.zoom.us/t/disable-screen-recording-in-zoom/45305/6 "2021-03-18T16:54:58Z")

</div>

Hi @testpress,

Thank you for clarifying. The Android SDK does not directly support anything to prevent users from recording the contents of their screen while in a meeting. There may be some security options available for this in the Android framework, however that would be outside of the scope of what we are able to assist with on this forum. I recommend checking out the [official Android documentation](https://developer.android.com/) to investigate that approach.

Thanks!

---

<div class="post-metadata">

**Author:** ![lj799877](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/lj799877/32/20729_2.png) [@lj799877](https://devforum.zoom.us/u/lj799877)\
**Post date:** [March 19, 2021, 7:16am UTC](https://devforum.zoom.us/t/disable-screen-recording-in-zoom/45305/7 "2021-03-19T07:16:05Z")

</div>

yes same problem with me.

---

<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:** [March 19, 2021, 5:04pm UTC](https://devforum.zoom.us/t/disable-screen-recording-in-zoom/45305/8 "2021-03-19T17:04:28Z")

</div>

Hi @lj799877,

Have you taken a look at the information referenced in my previous reply? Please let me know if there’s anything else I can help with.

Thanks!

---

<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:** [April 19, 2021, 3:04am UTC](https://devforum.zoom.us/t/disable-screen-recording-in-zoom/45305/9 "2021-04-19T03:04:58Z")

</div>

Closed on April 19, 2021, 3:04am UTC

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