# Issue using network quality API

**URL:** <https://openvidu.discourse.group/t/issue-using-network-quality-api/5027>\
**Category:** Issues developing apps\
**Tags:** v2\
**Created:** [March 20, 2024, 3:20pm UTC](https://openvidu.discourse.group/t/issue-using-network-quality-api/5027 "2024-03-20T15:20:57Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lucas\_Silva](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/lucas_silva/32/2410_2.png) [@Lucas\_Silva](https://openvidu.discourse.group/u/Lucas_Silva)\
**Post date:** [March 20, 2024, 3:20pm UTC](https://openvidu.discourse.group/t/issue-using-network-quality-api/5027/1 "2024-03-20T15:20:57Z")

</div>

I’m trying to implement network quality in the front-end using React, but I only receive the event upon connecting and no more after that. I have configured the server according to the documentation, and I believe the problem lies on the client-side.

I’m only receiving this log: “Now my network quality level is 0. Before was undefined”, and I don’t receive any more.

I’m using OpenVidu 2.28.0, PRO version.

In my code, I implemented it like this:

mySession.on(‘networkQualityLevelChanged’, event =\> {  
if (event.connection.connectionId === mySession.connection.connectionId) {  
console.log("Now my network quality level is " + event.newValue + ". Before was " + event.oldValue);  
} else {  
console.log("Network quality level of connection " + event.connection.connectionId  
+ " is " + event.newValue + ". Previous one was " + event.oldValue);  
}  
});

---

<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:** [March 20, 2024, 4:16pm UTC](https://openvidu.discourse.group/t/issue-using-network-quality-api/5027/2 "2024-03-20T16:16:29Z")

</div>

Hi @Lucas_Silva ,

Do you have the same behaviour?

I particulary assign this issue for improving it and fix if something is wrong, and it will be included in the following release. I hope you’re doing well.

Could you please confirm if you’ve had the chance to test the latest version v2.29.0? If so, I’d appreciate it if you could let me know if you’re experiencing the same behavior as before.

I’ve specifically assigned this issue to address any issues and make improvements. If there are any issues, I’ll ensure they’re fixed and included in the upcoming release.

Looking forward to your feedback.

---

<div class="post-metadata">

**Author:** ![Lucas\_Silva](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/lucas_silva/32/2410_2.png) [@Lucas\_Silva](https://openvidu.discourse.group/u/Lucas_Silva)\
**Post date:** [March 20, 2024, 4:31pm UTC](https://openvidu.discourse.group/t/issue-using-network-quality-api/5027/3 "2024-03-20T16:31:16Z")

</div>

I also tried on version 2.29.0, but the problem persisted.

---

<div class="post-metadata">

**Author:** ![Lucas\_Silva](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/lucas_silva/32/2410_2.png) [@Lucas\_Silva](https://openvidu.discourse.group/u/Lucas_Silva)\
**Post date:** [March 26, 2024, 3:15pm UTC](https://openvidu.discourse.group/t/issue-using-network-quality-api/5027/4 "2024-03-26T15:15:43Z")

</div>

@CSantosM Did you manage to find the problem?

---

<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:** [March 27, 2024, 8:31am UTC](https://openvidu.discourse.group/t/issue-using-network-quality-api/5027/5 "2024-03-27T08:31:00Z")

</div>

Hi,

We are working on it. It will be fixed in the upcoming release.

Thank you
