# How to get WebRTC Stats data from a KMS server?

**URL:** <https://openvidu.discourse.group/t/how-to-get-webrtc-stats-data-from-a-kms-server/241>\
**Category:** Issues developing apps\
**Tags:** v2\
**Created:** [March 15, 2020, 10:24am UTC](https://openvidu.discourse.group/t/how-to-get-webrtc-stats-data-from-a-kms-server/241 "2020-03-15T10:24:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hazratgs](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/hazratgs/32/344_2.png) [@hazratgs](https://openvidu.discourse.group/u/hazratgs)\
**Post date:** [March 15, 2020, 10:24am UTC](https://openvidu.discourse.group/t/how-to-get-webrtc-stats-data-from-a-kms-server/241/1 "2020-03-15T10:24:49Z")

</div>

Greetings, I have a question regarding WebRTC Stats metrics, how can I get them at the front, or do I need an OpenVidu Pro license to get them?

I read this article here ([https://doc-kurento.readthedocs.io/en/6.12.0/features/statistics.html](https://doc-kurento.readthedocs.io/en/6.12.0/features/statistics.html)), it is described there that you can receive status data (jitter, packetsLost and others) using a websocket connection can you tell me how? or is there a ready-made component in OpenVidu that works with this?

I also noticed in the Stream object there are properties of webRtcStats and it has data inbound, outbound, but they are always 0 …

Please tell me how to get WebRTC Stats data from kms server?
