Microphone audio level (video call)

255 views
Skip to first unread message

Evgeniya Syropyatova

unread,
Mar 3, 2021, 12:43:24 PM3/3/21
to meetecho-janus
Is it possible to control microphone audio level using janus?
Or maybe it is possible somehow use web audio api with janus?

Thanks in advance!

Mirko Brankovic

unread,
Mar 3, 2021, 1:23:23 PM3/3/21
to meetecho-janus
1. no, not even sure browsers can do that. they can read the audio level but not to control it, like some OS do.
depending on the audio lvl and plugin you use, for example, Audiobridge, you can change the volume of the user when joining room so that others can hear it differently, but it  

--
You received this message because you are subscribed to the Google Groups "meetecho-janus" group.
To unsubscribe from this group and stop receiving emails from it, send an email to meetecho-janu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/meetecho-janus/d72f1187-509d-4d86-802b-89b88b06a6acn%40googlegroups.com.


--
Regards,
Mirko

Evgeniya Syropyatova

unread,
Mar 3, 2021, 1:29:28 PM3/3/21
to meetecho-janus
Sorry, maybe I didn't put my issue clear. I do not want to set the exact audio volume, I just need a user to be able to change microphone volume.

среда, 3 марта 2021 г. в 21:23:23 UTC+3, mirkobr...@gmail.com:

august black

unread,
Mar 3, 2021, 1:51:33 PM3/3/21
to Evgeniya Syropyatova, meetecho-janus
Hi Evgeniya,

Are you asking to set the system level microphone gain.   If so, then I don't believe what you want to do is possible.

However, if you want to set a volume/gain on the existing audio input that that browser receives, then you can do it.


Is it possible to control microphone audio level using janus?

sort of.

If you are using the audiobridge plugin, there are some messages to the server for setting gain on each user's input (kind of a cool feature).

 
Or maybe it is possible somehow use web audio api with janus?

yes.


When you create the offer, you can pass in a "stream" argument.

There you can pass in a MediaStream of any kind (webaudio alone, webaudio + video, etc.)

Not to disway you, but you might be aware that there could be echo cancellation issues if you use webaudio in some contexts.
You need echo cancelation if your users don't have headphones (and you don't want the system to produce feedback)
 

I'm still trying to get to the bottom of this, and need to set up some testing.
But, I am having issues with echo cancelling not working in some situations. I believe it is due to using webaudio.
 

Evgeniya Syropyatova

unread,
Mar 4, 2021, 1:23:51 AM3/4/21
to meetecho-janus
Hi August!

Thanks for the answer, it's really helpful!

среда, 3 марта 2021 г. в 21:51:33 UTC+3, augus...@gmail.com:
Reply all
Reply to author
Forward
0 new messages