Variable jitterbuffer msec

From FreeSWITCH Wiki

Revision as of 01:06, 9 November 2011 by Crienzo (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Activates the jitter buffer. The jitter buffer has three params: length, max length, and max drift.

Usage:

<action application="set" data="jitterbuffer_msec=60:200:20"/>
<action application="answer"/>

Or to set it on the subsequent outbound call: export sets a variable on both the current channel and on any channels it creates, the 'nolocal:' disables setting it on the current channel and only sets it on the subsequent outbound channels.

<action application="export" data="nolocal:jitterbuffer_msec=60"/>
<action application="bridge" data="sofia/default/888@conference.freeswitch.org"/>


You can also activate the Jitter Buffer in the bridge as follows:

<action application="bridge" data="{jitterbuffer_msec=60}sofia/gateway/$1@gateway.com"/>

This will add a jitter buffer to packets flowing from a remote gateway towards a local freeswitch user. The network would look like this:

(local sip user) -----> FreeSWITCH -----> (remote gateway)

Where the link between the freeswitch and the remote gateway has a bad, jitter causing connection, and say the local sip user has no jitter buffering on their IP-phone. This will help the voice quality for the incoming audio.



See also:
jitterbuffer

Implemented By:

Module Name Source FileLast Revised
mod_faxmod_fax.c 9468
mod_sofiasofia_glue.c 5114
Personal tools

Community
Support FreeSWITCH