# Avatar stays black after enabling cam

**URL:** <https://devforum.zoom.us/t/avatar-stays-black-after-enabling-cam/46904>\
**Category:** Web\
**Created:** [March 30, 2021, 9:44am UTC](https://devforum.zoom.us/t/avatar-stays-black-after-enabling-cam/46904 "2021-03-30T09:44:03Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Leap](https://avatars.discourse-cdn.com/v4/letter/l/a8b319/32.png) [@Leap](https://devforum.zoom.us/u/Leap)\
**Post date:** [March 30, 2021, 9:44am UTC](https://devforum.zoom.us/t/avatar-stays-black-after-enabling-cam/46904/1 "2021-03-30T09:44:03Z")

</div>

**Description**  
I use the websdk to integrate meetings in a browser. However if more then 1 person is in the meeting and one person activates the cam the avatar stays black for about a minute unless the screen is “re-rendered” by clicking on the chat for example.

**Error**  
The avatar that is not updated and the startRenderVideo call in the console doesn’t fire properly.

**Which Web Client SDK version?**  
1.9.1

Anybody has an idea why this is happening?

---

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [March 30, 2021, 8:51pm UTC](https://devforum.zoom.us/t/avatar-stays-black-after-enabling-cam/46904/2 "2021-03-30T20:51:53Z")

</div>

Hi @Leap,

Thank you for using the Zoom Developer Forum. To investigate the cause of this issue further, are you able to provide more details?

1. A screenshot or video of the avatar staying black for about a minute while the screen is “re-rendered”?

2. Steps to reproduce

3. When did you first encounter this issue ? (if applicable)

This information will help us isolate the root cause of the issue you are experiencing. Thank you again for your patience and understanding.

Best,  
Donte

---

<div class="post-metadata">

**Author:** ![Leap](https://avatars.discourse-cdn.com/v4/letter/l/a8b319/32.png) [@Leap](https://devforum.zoom.us/u/Leap)\
**Post date:** [March 31, 2021, 8:09am UTC](https://devforum.zoom.us/t/avatar-stays-black-after-enabling-cam/46904/3 "2021-03-31T08:09:09Z")

</div>

Hi Donte,

Thanks for the reply…  
I’ve made screencasts for you:

[Stephan test2.webm - Google Drive](https://drive.google.com/file/d/176x30gfoxN3jc8PQw0fmQ0On3A28zGsw/view?usp=sharing) (when “re-rendered” by clicking on the chat)

[Stephan test2.webm - Google Drive](https://drive.google.com/file/d/1O47MiLeFCsywhIJNCF5Sha09PCsi-0xy/view?usp=sharing) (avatar just stays black for about 3 minutens, other participant sees the camefeed fine and immediately)

I would sent you the link however my zoommeeting is only active for a short time…  
Hope the code helps to…

```
<div id="zmmtg-root"></div>
<div id="aria-notify-area"></div>
<script src="https://source.zoom.us/1.9.1/lib/vendor/react.min.js"></script>
<script src="https://source.zoom.us/1.9.1/lib/vendor/react-dom.min.js"></script>
<script src="https://source.zoom.us/1.9.1/lib/vendor/redux.min.js"></script>
<script src="https://source.zoom.us/1.9.1/lib/vendor/redux-thunk.min.js"></script>
<script src="https://source.zoom.us/1.9.1/lib/vendor/lodash.min.js"></script>
<script src="https://source.zoom.us/zoom-meeting-1.9.1.min.js"></script>
<script>
    ZoomMtg.setZoomJSLib('https://dmogdx0jrul3u.cloudfront.net/1.9.1/lib', '/av'); 
    ZoomMtg.setZoomJSLib('https://source.zoom.us/1.9.1/lib', '/av'); 

    ZoomMtg.preLoadWasm();
    ZoomMtg.prepareWebSDK();

    const zoomMeeting = document.getElementById('zmmtg-root')
    ZoomMtg.init({
        leaveUrl: 'DOMAIN',
        isSupportAV: true,
        debug: true,
        success: (success) => {
            //console.log(success);
            ZoomMtg.join({
                signature: 'SIGNATUR',
                meetingNumber: 'ROOMID',
                userName: 'NAME',
                apiKey: 'APIKEY',
                userEmail: '',
                passWord: 'PASSWORD',
                success: (success) => {
                    //console.log(success)
                },
                error: (error) => {
                    //console.log(error)
                }
            });
        },
        error: (error) => {
            //console.log(error)
        }
    });
</script>
```

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [April 2, 2021, 10:13pm UTC](https://devforum.zoom.us/t/avatar-stays-black-after-enabling-cam/46904/4 "2021-04-02T22:13:13Z")

</div>

Hey @Leap ,

Thanks for sharing more details. We are aware of this issue and working on a fix. (CS-3172)

Will keep you updated.

-Tommy

---

<div class="post-metadata">

**Author:** ![Leap](https://avatars.discourse-cdn.com/v4/letter/l/a8b319/32.png) [@Leap](https://devforum.zoom.us/u/Leap)\
**Post date:** [April 6, 2021, 8:00am UTC](https://devforum.zoom.us/t/avatar-stays-black-after-enabling-cam/46904/5 "2021-04-06T08:00:31Z")

</div>

Thanks, hope it is fixed soon!

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [April 7, 2021, 8:19pm UTC](https://devforum.zoom.us/t/avatar-stays-black-after-enabling-cam/46904/6 "2021-04-07T20:19:21Z")

</div>

Hey @Leap,

We’ll be sure to update you here when the issue is resolved.

Thanks,  
Max

---

<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:** [May 8, 2021, 6:19am UTC](https://devforum.zoom.us/t/avatar-stays-black-after-enabling-cam/46904/7 "2021-05-08T06:19:48Z")

</div>

Closed on May 8, 2021, 6:19am UTC

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