# How to check if publishers have video or not

**URL:** <https://openvidu.discourse.group/t/how-to-check-if-publishers-have-video-or-not/1390>\
**Category:** Issues developing apps\
**Tags:** v2\
**Created:** [July 7, 2020, 6:57am UTC](https://openvidu.discourse.group/t/how-to-check-if-publishers-have-video-or-not/1390 "2020-07-07T06:57:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alireza](https://avatars.discourse-cdn.com/v4/letter/a/b77776/32.png) [@Alireza](https://openvidu.discourse.group/u/Alireza)\
**Post date:** [July 7, 2020, 6:57am UTC](https://openvidu.discourse.group/t/how-to-check-if-publishers-have-video-or-not/1390/1 "2020-07-07T06:57:48Z")

</div>

I want to check all published participants and find out which one hasn’t video and unsubscribe that user.  
is there any way to detect something like this?

---

<div class="post-metadata">

**Author:** ![CSantosM](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/csantosm/32/16_2.png) [@CSantosM](https://openvidu.discourse.group/u/CSantosM)\
**Post date:** [July 7, 2020, 7:58am UTC](https://openvidu.discourse.group/t/how-to-check-if-publishers-have-video-or-not/1390/2 "2020-07-07T07:58:08Z")

</div>

You can check the Subscribers and Publishers [videos property](https://docs.openvidu.io/en/2.15.0/api/openvidu-browser/classes/subscriber.html#videos) and check if they have videos
