Asterisk Project : Asterisk 11 Function_JITTERBUFFER This page last changed on Sep 26, 2012 by wikibot. # JITTERBUFFER() ### Synopsis Add a Jitterbuffer to the Read side of the channel. This dejitters the audio stream before it reaches the Asterisk core. This is a write only function. ### Description max_size: Defaults to 200 ms Length in milliseconds of buffer. resync_threshold: Defaults to 1000ms The length in milliseconds over which a timestamp difference will result in resyncing the jitterbuffer. target_extra: Defaults to 40ms This option only affects the adaptive jitterbuffer. It represents the amount time in milliseconds by which the new jitter buffer will pad its size. Examples: exten => 1,1,Set(JITTERBUFFER(fixed)=default);Fixed with defaults. exten => 1,1,Set(JITTERBUFFER(fixed)=200);Fixed with max size 200ms, default resync threshold and target extra. exten => 1,1,Set(JITTERBUFFER(fixed)=200,1500);Fixed with max size 200ms resync threshold 1500. exten => 1,1,Set(JITTERBUFFER(adaptive)=default);Adaptive with defaults. exten => 1,1,Set(JITTERBUFFER(adaptive)=200,,60);Adaptive with max size 200ms, default resync threshold and 40ms target extra. ### Syntax
    JITTERBUFFER(jitterbuffer type)
##### Arguments `jitterbuffer type` - Jitterbuffer type can be either `fixed` or `adaptive`.Used as follows.Set(JITTERBUFFER(type)=max_size[,resync_threshold,target_extra])Set(JITTERBUFFER(type)=default) ### Import Version This documentation was imported from Asterisk Version SVN-branch-11-r373804

Document generated by Confluence on Nov 02, 2012 17:42