Configuring Freeswitch to use speex

431 views
Skip to first unread message

jer...@welforum.com

unread,
Nov 12, 2010, 12:26:46 PM11/12/10
to BigBlueButton Dev Group
Hi developers
Many thanks for a great new version and a smooth upgrade path! I am
noticing improvements in the VoIP with less audio delay than 0.70
using Freeswitch. The desktop sharing is not working yet (it did in
0.70) but I suspect this is a browser/java issue as the applet doesn't
load (tried using Firefox, Chrome and Safari).

I have one group wanting to use BBB point to point with a group at one
end and they would like to not all have a headset or pass it around.
Not the most ideal set up but I would like to try using the speex
codec that I know has echo cancelling built in. I have tried the
current 0.71 release that I understand is set to use the nelleymoser
codec. This seems better than 0.70 was without a headset with the
echo much more muted. Could someone point me in the right direction
to change to using speex with Freeswitch. I have had a quick browse at
the freeswitch files to find the appropriate file but without success
yet. I assume that there is a config file somewhere that needs editing.

I'm running ubuntu 10 64 bit on a cloud server so can scale mips and
memory as required.

Many thanks for your help
Jeremy Peckham

Richard Alam

unread,
Nov 12, 2010, 1:04:00 PM11/12/10
to bigblueb...@googlegroups.com
Change /opt/freeswitch/config/vars.xml and look for at the comments.

http://github.com/bigbluebutton/bigbluebutton/blob/master/bbb-voice-conference/config/freeswitch/conf/vars.xml

Richard

> --
> You received this message because you are subscribed to the Google Groups
> "BigBlueButton-dev" group.
> To post to this group, send email to bigblueb...@googlegroups.com.
> To unsubscribe from this group, send email to
> bigbluebutton-...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/bigbluebutton-dev?hl=en.
>
>

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

Zanstro

unread,
Nov 13, 2010, 5:16:07 AM11/13/10
to BigBlueButton-dev
Hello

My question is: Speex or Nelleymoser? Which is better?

On 12 Νοέ, 20:04, Richard Alam <ritza...@gmail.com> wrote:
> Change /opt/freeswitch/config/vars.xml and look for at the comments.
>
> http://github.com/bigbluebutton/bigbluebutton/blob/master/bbb-voice-c...

jeremy peckham

unread,
Nov 13, 2010, 9:10:13 AM11/13/10
to bigblueb...@googlegroups.com
Found the place, many thanks. I am slightly surprised that several codecs are specified in the prefs string, I guess I had expected only one to be specified. Do you happen to know how Freeswitch determines which codec is used from the string?

Will let all know how testing goes this next week. For those that are interested in speex vs nelleymoser - from looking at the specs speex has a better echo cancelling algorithm (when enabled) than nelleymoser and can deliver a higher quality audio, probably only noticable for music. (Zanstro - as I understand it the reasons for the default choice for nelleymoser is to do with scaleability and I believe has already been reported elsewhere in this group by the developers.)

Jeremy

Scott Morris

unread,
Nov 13, 2010, 12:00:27 PM11/13/10
to bigblueb...@googlegroups.com
Hi Jeremy,

What we have noticed is that Speex is CPU intensive.  It has a noticeable quality difference over Nelleymoser but doesn't scale as well to many users.

FreeSWICH's perfered codec is read from left to right and when a client connects the codec is negotiated.  The flash client always tries to connect using Speex first, then is told what to use if it is not available.  If you really want one codec used by FreeSWITCH in use then try and remove the others from the list and see is it works.

Scott
Reply all
Reply to author
Forward
0 new messages