diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-05-31 16:56:50 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-05-31 16:56:50 +0000 |
commit | 1264d306ef99444c139d5467f47ae6bc50a296b2 (patch) | |
tree | 24a5e287490aa56d6fad0961d8832f1ba7eea1fd /include/asterisk/channel.h | |
parent | e625fbb2b0a0a5c31c3c18cf4ee225d54b73c2ba (diff) |
Add support for using a jitterbuffer for RTP on bridged calls. This includes
a new implementation of a fixed size jitterbuffer, as well as support for the
existing adaptive jitterbuffer implementation. (issue #3854, Slav Klenov)
Thank you very much to Slav Klenov of Securax and all of the people involved
in the testing of this feature for all of your hard work!
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@31052 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk/channel.h')
-rw-r--r-- | include/asterisk/channel.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/asterisk/channel.h b/include/asterisk/channel.h index 29e909e3a..9d38dff5b 100644 --- a/include/asterisk/channel.h +++ b/include/asterisk/channel.h @@ -86,6 +86,8 @@ #ifndef _ASTERISK_CHANNEL_H #define _ASTERISK_CHANNEL_H +#include "asterisk/abstract_jb.h" + #include <unistd.h> #ifdef POLLCOMPAT #include "asterisk/poll-compat.h" @@ -445,6 +447,9 @@ struct ast_channel { /*! For easy linking */ AST_LIST_ENTRY(ast_channel) chan_list; + + /*! The jitterbuffer state */ + struct ast_jb jb; }; /* \defgroup chanprop Channel tech properties: @@ -452,6 +457,11 @@ struct ast_channel { /* @{ */ #define AST_CHAN_TP_WANTSJITTER (1 << 0) +/* \defgroup chanprop Channel tech properties: + \brief Channels have this property if they can create jitter; i.e. most VoIP channels */ +/* @{ */ +#define AST_CHAN_TP_CREATESJITTER (1 << 1) + /* This flag has been deprecated by the transfercapbilty data member in struct ast_channel */ /* #define AST_FLAG_DIGITAL (1 << 0) */ /* if the call is a digital ISDN call */ #define AST_FLAG_DEFER_DTMF (1 << 1) /*!< if dtmf should be deferred */ |