# Hight Audio Data in OpenVidu Call with video and audio muted

**URL:** <https://openvidu.discourse.group/t/hight-audio-data-in-openvidu-call-with-video-and-audio-muted/2812>\
**Category:** Issues developing apps\
**Tags:** v2\
**Created:** [March 12, 2021, 10:13pm UTC](https://openvidu.discourse.group/t/hight-audio-data-in-openvidu-call-with-video-and-audio-muted/2812 "2021-03-12T22:13:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![geverding](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/geverding/32/1386_2.png) [@geverding](https://openvidu.discourse.group/u/geverding)\
**Post date:** [March 12, 2021, 10:13pm UTC](https://openvidu.discourse.group/t/hight-audio-data-in-openvidu-call-with-video-and-audio-muted/2812/1 "2021-03-12T22:13:35Z")

</div>

Hi,

I’ve been experimenting with openvidu using openvidu call as a test bed for seeing base performance and I’ve noticed that CPU and Network Usage do _not_ drop if everyone is in a call with video and audio turned **off**. I was still seeing 200Kib coming in and 1.2Mib leaving my server with CPU setting at 50% for a 8 person call. This is behaviour that can be configured in a client app?

Garrett

---

<div class="post-metadata">

**Author:** ![mihailj](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/mihailj/32/406_2.png) [@mihailj](https://openvidu.discourse.group/u/mihailj)\
**Post date:** [March 15, 2021, 8:31pm UTC](https://openvidu.discourse.group/t/hight-audio-data-in-openvidu-call-with-video-and-audio-muted/2812/2 "2021-03-15T20:31:45Z")

</div>

Hello **Garrett**!

As you’ve correctly noticed the audio & video unsubscribe doesn’t help with reducing network cost on the Subscriber side, it basically mutes audio / hides video.

This functionality was requested [some time ago](https://github.com/OpenVidu/openvidu/issues/97) but there’s not yet an official solution for it.

I also had the need for it so I’ve hacked a small quick fix, even though is not really the best solution.

You can build the OpenVidu browser plugin from this branch on my fork: [https://github.com/mihailj/openvidu/tree/resubscribe](https://github.com/mihailj/openvidu/tree/resubscribe).

The instructions to [build the browser plugin are here](https://openvidu.discourse.group/t/openvidu-browser-2-16-2/2347/5) (just replace with my repository and check-out the `resubscribe` branch).

I’ve added the [SubscriberProperties](https://docs.openvidu.io/en/2.17.0/api/openvidu-browser/interfaces/subscriberproperties.html) parameter to the `Stream.subscribe` function so it enables the possibility to subscribe to audio/video only for real.

Also added a `Session.resubscribe` function that you can use to unsubscribe and subscribe back with new `SubscriberProperties` (hence the `resubscribe` function name).

The drawback is the time required to do this, some audio will be lost even if you just unsubscribe from video only.

I recommend to [read the commit code](https://github.com/mihailj/openvidu/commit/866ea34f2fce4d8b309b82a2b478b37636e9ab4a) to figure out exactly what I’ve done.

If the OpenVidu team thinks this is useful I can create a pull request.

Cheers,  
Mihail J
