# Not work addAttendeeVideoUnit sometimes

**URL:** <https://devforum.zoom.us/t/not-work-addattendeevideounit-sometimes/63683>\
**Category:** Android\
**Created:** [February 3, 2022, 2:11am UTC](https://devforum.zoom.us/t/not-work-addattendeevideounit-sometimes/63683 "2022-02-03T02:11:51Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![max555](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/max555/32/34412_2.png) [@max555](https://devforum.zoom.us/u/max555)\
**Post date:** [February 3, 2022, 2:11am UTC](https://devforum.zoom.us/t/not-work-addattendeevideounit-sometimes/63683/1 "2022-02-03T02:11:51Z")

</div>

**Description**  
I happen not render view sometimes.  
I checked myUserId is not zero and `addAttendeeVideoUnit` return result is true.  
How to resolved not render view sometimes?

```auto
AndroidView(
        factory = ::MobileRTCVideoView,
        update = {
            val videoViewManager = it.videoViewManager
            val renderInfo1 = MobileRTCVideoUnitRenderInfo(0, 0, 100, 100)
            renderInfo1.aspect_mode = MobileRTCVideoUnitAspectMode.VIDEO_ASPECT_PAN_AND_SCAN
            videoViewManager.addAttendeeVideoUnit(
                myUserId,
                renderInfo1
            )
        },
        ...

```

**Which Android Meeting SDK version?**  
5.9.1

**Smartphone (please complete the following information):**

- Device: Pixel 5a
- OS: 12

---

<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:** [February 3, 2022, 5:32pm UTC](https://devforum.zoom.us/t/not-work-addattendeevideounit-sometimes/63683/2 "2022-02-03T17:32:13Z")

</div>

Hi @max555, thanks for the post.

Can you confirm whether or not you are seeing the [`onSubscribeUserFail`](https://marketplacefront.zoom.us/sdk/meeting/android/us/zoom/sdk/ICustomizedVideoSink.html#onSubscribeUserFail-int-int-long-) callback when this issue is present?

Thanks!

---

<div class="post-metadata">

**Author:** ![max555](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/max555/32/34412_2.png) [@max555](https://devforum.zoom.us/u/max555)\
**Post date:** [February 7, 2022, 3:12am UTC](https://devforum.zoom.us/t/not-work-addattendeevideounit-sometimes/63683/3 "2022-02-07T03:12:15Z")

</div>

Hi @jon.zoom Thanks!

I try it.

---

<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:** [February 7, 2022, 8:35pm UTC](https://devforum.zoom.us/t/not-work-addattendeevideounit-sometimes/63683/4 "2022-02-07T20:35:15Z")

</div>

Sounds great! Let me know once you’re able to confirm and we can try to get a better idea of what’s happening. 🙂

---

<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:** [March 10, 2022, 6:36am UTC](https://devforum.zoom.us/t/not-work-addattendeevideounit-sometimes/63683/5 "2022-03-10T06:36:07Z")

</div>

Closed on March 10, 2022, 6:36am UTC

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