Jump to content
  • 0

How to find dominant user in conference mode?

Nagendra Kumar1648581702


  • Answers 1
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

1 answer to this question

Recommended Posts

  • 0

Hi Nagendra,

Last week we just provide a solution offer for this case. I just copy/paste the related part. 

Secondly,  I think the correct and proper way for getting audio level is not through WebRTC statistics because it reports only the audio level at that instant. It does not give you an average value or something. In order to resolve this problem, you can increase the query of getting webrtc statistics. However it will create some performance issues on your end. 

So I've googled and found a solution which is using Web Audio API. Check this out

It will calculate the sound level of the stream and provides some visualization for that. Source code of the script is available on here https://github.com/webrtc/samples/tree/gh-pages/src/content/getusermedia/volume

Does that make sense?

A. Oguz


Link to comment
Share on other sites


  • Create New...