# Wrong callback when host asks participant to stop video

**URL:** <https://devforum.zoom.us/t/wrong-callback-when-host-asks-participant-to-stop-video/46457>\
**Category:** Android\
**Created:** [March 24, 2021, 1:24pm UTC](https://devforum.zoom.us/t/wrong-callback-when-host-asks-participant-to-stop-video/46457 "2021-03-24T13:24:06Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![rares.vultur](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/rares.vultur/32/24714_2.png) [@rares.vultur](https://devforum.zoom.us/u/rares.vultur)\
**Post date:** [March 24, 2021, 1:24pm UTC](https://devforum.zoom.us/t/wrong-callback-when-host-asks-participant-to-stop-video/46457/1 "2021-03-24T13:24:07Z")

</div>

**Description**  
I am trying to handle the callback for when the host asks a participant to stop their video. From the documentation I am expecting the callback to trigger the `override fun onUserVideoStatusChanged(p0: Long, p1: InMeetingServiceListener.VideoStatus?)` method. I am expecting the VideoStatus to be `InMeetingServiceListener.VideoStatus.Video_Mute_ByHost` but instead I am receiving `Video_OFF`. However this is the same VideoStatus for when the participant manually turns off their video.

Since both send the same VideoStatus, I am not sure how to isolate only the case when the host asks to stop the video. Is this a known issue? Or am I missing something?

**Which Android Client SDK version?**  
v5.4.3.613

---

<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 24, 2021, 5:16pm UTC](https://devforum.zoom.us/t/wrong-callback-when-host-asks-participant-to-stop-video/46457/2 "2021-03-24T17:16:03Z")

</div>

Hi @rares.vultur, thanks for the post.

We will need to investigate the correct functionality here, as `Video_OFF` seems like a valid status to receive in this case. While we look into this, do you have a specific need for the `Video_Mute_ByHost` status being sent in this scenario, or are you just looking to confirm the expected behavior?

Thanks!

---

<div class="post-metadata">

**Author:** ![rares.vultur](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/rares.vultur/32/24714_2.png) [@rares.vultur](https://devforum.zoom.us/u/rares.vultur)\
**Post date:** [March 25, 2021, 5:07am UTC](https://devforum.zoom.us/t/wrong-callback-when-host-asks-participant-to-stop-video/46457/3 "2021-03-25T05:07:43Z")

</div>

Thanks for the reply Jon!  
Yeah, I would need the Video\_Mute\_ByHost being sent since I want to show a specific alert for when the participant has been muted by host. Could you help me figure out how to isolate this specific case?

---

<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 25, 2021, 6:04pm UTC](https://devforum.zoom.us/t/wrong-callback-when-host-asks-participant-to-stop-video/46457/4 "2021-03-25T18:04:08Z")

</div>

Hi @rares.vultur,

Thanks for confirming. I believe this is something we will need to make a change in the SDK, but we will need to investigate and get back to you.

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 25, 2021, 4:04am UTC](https://devforum.zoom.us/t/wrong-callback-when-host-asks-participant-to-stop-video/46457/5 "2021-04-25T04:04:12Z")

</div>

Closed on April 25, 2021, 4:04am UTC

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