diff options
author | David Vossel <dvossel@digium.com> | 2010-03-02 19:08:38 +0000 |
---|---|---|
committer | David Vossel <dvossel@digium.com> | 2010-03-02 19:08:38 +0000 |
commit | 862ebf4d008ed46ba1455b7e2395a634a4dc172d (patch) | |
tree | bdf4afac836c65698b3da8e315f9eb5d146aa89c /channels/chan_unistim.c | |
parent | 06041ea28ddf8c6dc20f09e9280e4b64aee42271 (diff) |
fixes adaptive jitterbuffer configuration
When configuring the adaptive jitterbuffer, the target_extra
value not only could not be set from the configuration, but was
not even being set to its proper default. This value is required
in order for the adaptive jitterbuffer to work correctly. To resolve
this a config option has been added to expose this value to the conf
files, and a default value is provided when no config specific value
is present.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@249893 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/chan_unistim.c')
-rw-r--r-- | channels/chan_unistim.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/channels/chan_unistim.c b/channels/chan_unistim.c index 79df46650..0ebf879a1 100644 --- a/channels/chan_unistim.c +++ b/channels/chan_unistim.c @@ -188,10 +188,11 @@ static void dummy(char *unused, ...) /*! \brief Global jitterbuffer configuration - by default, jb is disabled */ static struct ast_jb_conf default_jbconf = { - .flags = 0, + .flags = 0, .max_size = -1, .resync_threshold = -1, - .impl = "" + .impl = "", + .target_extra = -1, }; static struct ast_jb_conf global_jbconf; |