# How to hide user default avatar on joining meeting

**URL:** <https://devforum.zoom.us/t/how-to-hide-user-default-avatar-on-joining-meeting/56179>\
**Category:** Android\
**Created:** [August 20, 2021, 7:42pm UTC](https://devforum.zoom.us/t/how-to-hide-user-default-avatar-on-joining-meeting/56179 "2021-08-20T19:42:55Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![nilefire103](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/nilefire103/32/30296_2.png) [@nilefire103](https://devforum.zoom.us/u/nilefire103)\
**Post date:** [August 20, 2021, 7:42pm UTC](https://devforum.zoom.us/t/how-to-hide-user-default-avatar-on-joining-meeting/56179/1 "2021-08-20T19:42:56Z")

</div>

How can I hide the default avatar pic of user while joining the meeting.  
I don’t want to go with Custom UI, as I want to use gallery view feature of zoom sdk & that is fine with default UI…

 ![Screenshot_2021-08-21-00-58-20-052_us.zoom.sdkexample](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/d/e/de0797cf63501aebafdac069bd6c412299c972e6.jpeg)  
see the default user icon (avatar) image while running meeting… want to hide this…

---

<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:** [August 20, 2021, 9:51pm UTC](https://devforum.zoom.us/t/how-to-hide-user-default-avatar-on-joining-meeting/56179/2 "2021-08-20T21:51:58Z")

</div>

Hi @nilefire103, thanks for using the dev forum.

Unfortunately, there is no way for a user to hide their own video through the default UI in this scenario. A custom meeting UI would be required. That being said, you can absolutely still implement your own gallery view when using a custom meeting UI. 🙂

Thanks!

---

<div class="post-metadata">

**Author:** ![nilefire103](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/nilefire103/32/30296_2.png) [@nilefire103](https://devforum.zoom.us/u/nilefire103)\
**Post date:** [August 24, 2021, 7:57am UTC](https://devforum.zoom.us/t/how-to-hide-user-default-avatar-on-joining-meeting/56179/4 "2021-08-24T07:57:56Z")

</div>

Can you please provide me a sample code for the same so that I can check how it can be done ? I just want to show multiple videos at once using gallery view & all its functionality that is now available with default UI. All functionality means - swipe, pin video, double tap etc…

---

<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:** [August 24, 2021, 5:22pm UTC](https://devforum.zoom.us/t/how-to-hide-user-default-avatar-on-joining-meeting/56179/5 "2021-08-24T17:22:40Z")

</div>

Hi @nilefire103,

We don’t have a sample implementation of exactly what you are asking for, but the sample app included with the SDK has a custom UI implementation that could be a useful starting point. Since you are solely responsible for the appearance and behavior of your app’s UI when custom UI mode is enabled, any parts of that implementation which do not directly interact with our SDK are going to be outside of the scope of what we can assist with.

Let me know if you have any questions on how to utilize the SDK for specific pieces of behavior and I’ll be happy to help. 🙂

Thanks!

---

<div class="post-metadata">

**Author:** ![nilefire103](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/nilefire103/32/30296_2.png) [@nilefire103](https://devforum.zoom.us/u/nilefire103)\
**Post date:** [August 29, 2021, 3:46am UTC](https://devforum.zoom.us/t/how-to-hide-user-default-avatar-on-joining-meeting/56179/6 "2021-08-29T03:46:26Z")

</div>

I tried to run the sample code you have given with Custom UI setting checked, but when I check this option & click join meeting, nothing happens… attached is the screenshot for your reference…

 ![Screenshot_2021-08-29-09-12-54-055_us.zoom.sdkexample](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/7/5/75f98d36e87bae267fc1e4d27d20a0d49e9db0dd.png)

---

<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:** [August 30, 2021, 6:31pm UTC](https://devforum.zoom.us/t/how-to-hide-user-default-avatar-on-joining-meeting/56179/7 "2021-08-30T18:31:32Z")

</div>

Hi @nilefire103,

When you try to join a meeting, are you certain that you have provided a valid meeting number? If so, please provide a screen recording of the behavior you are experiencing so that we may better assist.

Thanks!

---

<div class="post-metadata">

**Author:** ![nilefire103](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/nilefire103/32/30296_2.png) [@nilefire103](https://devforum.zoom.us/u/nilefire103)\
**Post date:** [September 14, 2021, 6:32am UTC](https://devforum.zoom.us/t/how-to-hide-user-default-avatar-on-joining-meeting/56179/10 "2021-09-14T06:32:27Z")

</div>

Ok, please check the video uploaded on the link mentioned below, with customized meeting UI using your sample app, its not joining, however its joining with default meeting UI.  
Note: i have hidden the Meeting ID while creating the video, its being passed internally…

[http://aryan123-001-site1.ctempurl.com/zoom\_issue.mp4](http://aryan123-001-site1.ctempurl.com/zoom_issue.mp4)

---

<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:** [September 14, 2021, 6:37pm UTC](https://devforum.zoom.us/t/how-to-hide-user-default-avatar-on-joining-meeting/56179/11 "2021-09-14T18:37:44Z")

</div>

Hi @nilefire103,

Thanks for providing that video. That certainly seems strange. Can you check what the return value of the `joinMeetingWithParams` call is in the sample app when this occurs? It can be found on line 42 of `JoinMeetingHelper`. Also, which version of the SDK are you using?

Thanks!

---

<div class="post-metadata">

**Author:** ![nilefire103](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/nilefire103/32/30296_2.png) [@nilefire103](https://devforum.zoom.us/u/nilefire103)\
**Post date:** [September 15, 2021, 5:39am UTC](https://devforum.zoom.us/t/how-to-hide-user-default-avatar-on-joining-meeting/56179/12 "2021-09-15T05:39:21Z")

</div>

```auto
Code of file (not changed anything): 
mobilertc-android-studio\sample\src\main\java\us\zoom\sdksample\ui\InitAuthSDKActivity.java

public void onClickJoin(View view) {
        if(!mZoomSDK.isInitialized())
        {
            Toast.makeText(this,"Init SDK First",Toast.LENGTH_SHORT).show();
            InitAuthSDKHelper.getInstance().initSDK(this, this);
            return;
        }

        if (ZoomSDK.getInstance().getMeetingSettingsHelper().isCustomizedMeetingUIEnabled()) {
            ZoomSDK.getInstance().getSmsService().enableZoomAuthRealNameMeetingUIShown(false);
        } else {
            ZoomSDK.getInstance().getSmsService().enableZoomAuthRealNameMeetingUIShown(true);
        }
        String number = numberEdit.getText().toString();
        String name = nameEdit.getText().toString();

        JoinMeetingParams params = new JoinMeetingParams();
        params.meetingNo = number;
        params.displayName = name;
        JoinMeetingOptions options=new JoinMeetingOptions();
        int result = ZoomSDK.getInstance().getMeetingService().joinMeetingWithParams(this, params,ZoomMeetingUISettingHelper.getJoinMeetingOptions());
       Log.d("join result", result + ""); **//result is 0 in both cases // customized UI or without it**
    }

Code of file (changed):
mobilertc-android-studio\sample\src\main\java\us\zoom\sdksample\initsdk\InitAuthSDKHelper.java

public void initSDK(Context context, InitAuthSDKCallback callback) {
        if (!mZoomSDK.isInitialized()) {
            mInitAuthSDKCallback = callback;

            ZoomSDKInitParams initParams = new ZoomSDKInitParams();
            **//commented below line**
            **//initParams.jwtToken = SDK_JWTTOKEN;**
            initParams.enableLog = true;
            initParams.enableGenerateDump = true;
            initParams.logSize = 5;
            initParams.domain = AuthConstants.WEB_DOMAIN;
            **//added below 2 lines**
            **initParams.appKey = "My SDK Key";**
            **initParams.appSecret = "My SDK Secret";**
            initParams.videoRawDataMemoryMode = ZoomSDKRawDataMemoryMode.ZoomSDKRawDataMemoryModeStack;
            mZoomSDK.initialize(context, this, initParams);
        }
    }

```

---

<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:** [September 16, 2021, 12:51am UTC](https://devforum.zoom.us/t/how-to-hide-user-default-avatar-on-joining-meeting/56179/13 "2021-09-16T00:51:56Z")

</div>

Hi @nilefire103,

Are you absolutely certain that you have not made any other changes? Can you try downloading a fresh copy of the sample app and running it again just to be sure? I have tried to reproduce this across multiple devices but have not been able to.

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:** [October 16, 2021, 11:04pm UTC](https://devforum.zoom.us/t/how-to-hide-user-default-avatar-on-joining-meeting/56179/15 "2021-10-16T23:04:21Z")

</div>

Closed on October 16, 2021, 11:04pm UTC

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