Freeswitch parameter "energy-level" when using WebRTC?

648 views
Skip to first unread message

insightc...@t-online.de

unread,
Sep 6, 2014, 3:16:24 PM9/6/14
to bigblueb...@googlegroups.com
I'm trying to solve a problem I had on our first 0.9-beta test conference: We had too much background noise when using WebRTC (e.g. hearing people typing on keyboard even when they were using a headset) so I wanted to fix this using the energy-level parameter in

/opt/freeswitch/conf/autoload_configs/conference.conf.xml

and set it to a higher value. I assumed that WebRTC uses <profile name="cdquality"> but I also tried with all other profiles and even when I raised the level from 100 to 1000 this did not change anything.

What would be the right place to try to resolve this?

Are there other parameters to make adjustments to the auto gain so that it is not maxing out completely when people are actually silent?

Thanks for any hints
Oliver

Richard Alam

unread,
Sep 6, 2014, 3:18:19 PM9/6/14
to BigBlueButton-dev
On Sat, Sep 6, 2014 at 3:16 PM, <insightc...@t-online.de> wrote:
I'm trying to solve a problem I had on our first 0.9-beta test conference: We had too much background noise when using WebRTC (e.g. hearing people typing on keyboard even when they were using a headset) so I wanted to fix this using the energy-level parameter in

/opt/freeswitch/conf/autoload_configs/conference.conf.xml

and set it to a higher value. I assumed that WebRTC uses <profile name="cdquality"> but I also tried with all other profiles and even when I raised the level from 100 to 1000 this did not change anything.

What would be the right place to try to resolve this?

Did you try restarting FreeSWITCH? Or "reload xml" but not sure if it'll reload conference.xml.
 

Are there other parameters to make adjustments to the auto gain so that it is not maxing out completely when people are actually silent?

Thanks for any hints
Oliver

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-...@googlegroups.com.
To post to this group, send email to bigblueb...@googlegroups.com.
Visit this group at http://groups.google.com/group/bigbluebutton-dev.
For more options, visit https://groups.google.com/d/optout.



--
-----
BigBlueButton Developer
http://www.bigbluebutton.org
http://code.google.com/p/bigbluebutton

insightc...@t-online.de

unread,
Sep 6, 2014, 4:04:21 PM9/6/14
to bigblueb...@googlegroups.com
Yes I actually restarted BBB entirely to be sure but could not find any effect, even the smallest background noise will trigger the microphone to broadcast it and the only thing that helped was having everybody on mute all the time

Best regards
Oliver

Calvin Walton

unread,
Sep 11, 2014, 11:25:37 AM9/11/14
to bigblueb...@googlegroups.com
On Sat, 2014-09-06 at 12:16 -0700, insightc...@t-online.de wrote:
> I'm trying to solve a problem I had on our first 0.9-beta test
> conference:
> We had too much background noise when using WebRTC (e.g. hearing
> people
> typing on keyboard even when they were using a headset) so I wanted
> to fix
> this using the energy-level parameter in
>
> /opt/freeswitch/conf/autoload_configs/conference.conf.xml
>
> and set it to a higher value. I assumed that WebRTC uses <profile
> name="cdquality"> but I also tried with all other profiles and even
> when I
> raised the level from 100 to 1000 this did not change anything.
>
> What would be the right place to try to resolve this?

I believe this is actually more of a web browser bug than something
that can be fixed in FreeSWITCH, unfortunately.

All of the web browsers with WebRTC support are doing automatic gain
control, and if nobody is talking into the microphone for a while, the
browser will increase the gain such that the background noise is loud
enough to go over FreeSWITCH's energy level threshold.

It would be a good idea to see if Chrome or Firefox have this issue in
their respective bug trackers.

--
Calvin Walton <calvin...@kepstin.ca>
BigBlueButton developer

HostBBB.com

unread,
Sep 12, 2014, 8:05:50 PM9/12/14
to bigblueb...@googlegroups.com
Oliver,

 I haven't looked too close at this,  but you may be able to edit the webrtc javascript to disable AGC altogether, and still get echo cancellation.

this shows you some specifics on attempting.   Not sure if is the sip.js stack or the bbb-webrtc.js that would need to be modified.

Let us know if you try this and how it works.

Regards,
Stephen
Reply all
Reply to author
Forward
0 new messages