# How to implement audio level meter for RTC Stream

**URL:** <https://react-native-webrtc.discourse.group/t/how-to-implement-audio-level-meter-for-rtc-stream/192>\
**Category:** General\
**Created:** [July 16, 2019, 10:38am UTC](https://react-native-webrtc.discourse.group/t/how-to-implement-audio-level-meter-for-rtc-stream/192 "2019-07-16T10:38:01Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![tomnotcat](https://avatars.discourse-cdn.com/v4/letter/t/919ad9/32.png) [@tomnotcat](https://react-native-webrtc.discourse.group/u/tomnotcat)\
**Post date:** [July 16, 2019, 10:38am UTC](https://react-native-webrtc.discourse.group/t/how-to-implement-audio-level-meter-for-rtc-stream/192/1 "2019-07-16T10:38:01Z")

</div>

I want to display a audio volume meter to visualize audio activity,  
In web browser webrtc, It can be realized with AudioContext.  
How can I implement this with react-native-webrtc, Does anyone have some ideas.

---

<div class="post-metadata">

**Author:** ![saghul](https://yyz2.discourse-cdn.com/free1/user_avatar/react-native-webrtc.discourse.group/saghul/32/4_2.png) [@saghul](https://react-native-webrtc.discourse.group/u/saghul)\
**Post date:** [July 18, 2019, 7:54am UTC](https://react-native-webrtc.discourse.group/t/how-to-implement-audio-level-meter-for-rtc-stream/192/2 "2019-07-18T07:54:22Z")

</div>

You can use getStats (the audio level is one of the stats) but note that calling it too often may have a signifficant performancwe impact.

---

<div class="post-metadata">

**Author:** ![wangfpp](https://yyz2.discourse-cdn.com/free1/user_avatar/react-native-webrtc.discourse.group/wangfpp/32/168_2.png) [@wangfpp](https://react-native-webrtc.discourse.group/u/wangfpp)\
**Post date:** [March 12, 2020, 2:29am UTC](https://react-native-webrtc.discourse.group/t/how-to-implement-audio-level-meter-for-rtc-stream/192/3 "2020-03-12T02:29:24Z")

</div>

do you resolve thi problem?

---

<div class="post-metadata">

**Author:** ![abahrisd](https://yyz2.discourse-cdn.com/free1/user_avatar/react-native-webrtc.discourse.group/abahrisd/32/276_2.png) [@abahrisd](https://react-native-webrtc.discourse.group/u/abahrisd)\
**Post date:** [August 18, 2020, 6:37am UTC](https://react-native-webrtc.discourse.group/t/how-to-implement-audio-level-meter-for-rtc-stream/192/4 "2020-08-18T06:37:25Z")

</div>

Some one find any solution?

---

<div class="post-metadata">

**Author:** ![khushal87](https://yyz2.discourse-cdn.com/free1/user_avatar/react-native-webrtc.discourse.group/khushal87/32/660_2.png) [@khushal87](https://react-native-webrtc.discourse.group/u/khushal87)\
**Post date:** [September 22, 2023, 5:57am UTC](https://react-native-webrtc.discourse.group/t/how-to-implement-audio-level-meter-for-rtc-stream/192/5 "2023-09-22T05:57:11Z")

</div>

Hey @saghul, it seems like the stats of audioLevel are received only when audio is unmuted. If I want to build a feature like speaking while muted notification, can it be relied upon?
