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:
Join a meeting
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
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?
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 to investigate that approach.