How to implement audio level meter for RTC Stream

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.

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.

do you resolve thi problem?

Some one find any solution?

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?