[Freeswitch-users] JitterBuffer possible problem when configured with number of packets.

Joel Serrano joel at gogii.net
Wed Apr 20 05:38:38 MSD 2016

Hi all,

I'm doing several tests jitterbuffer related. I've read in different posts
to the list that you can specify packet size ("20"), or the number of
packets ("1p"), why is it not being enabled if I use 1p instead of 20?


** Add in the sofia profile:

<param name="auto-jitterbuffer-msec" value="20"/>

--- Make a call

** Output in debug log:

4557180d-579a-4c3c-98a3-287cb078e913 2016-04-20 00:57:03.570889 [DEBUG]
switch_core_media.c:1964 Setting Jitterbuffer to 20ms (1 frames) (50 max

Scenario 2:

** Add in the sofia profile:

<param name="auto-jitterbuffer-msec" value="1p"/>

--- Make a call

Log doesn't say that jitterbuffer has been enabled.

Can it be that 1p doesn't output the log but is working anyway?

I have removed the auto-jitterbuffer-msec from the sofia profile, and done
both tests setting jitterbuffer_msec directly in the dialplan with "20" and
with "1p", the result is the same: 20 works, 1p doesn't.

If I use 1p, I don't have to worry about the size as if its 20ms, 40ms or
whatever it will work, using "20", the setting would not be valid for
40ms.. (please correct me if I'm wrong).

I know this can be a bug and thus should be handled in JIRA, I will be
happy to create the ticket etc etc, I first want to make sure that the
problem is not my config.

Tests are with version 1.6.7 -14-d38d065 64bit

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160419/d64c9743/attachment.html 

Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list