diff options
author | David Vossel <dvossel@digium.com> | 2011-07-07 19:39:17 +0000 |
---|---|---|
committer | David Vossel <dvossel@digium.com> | 2011-07-07 19:39:17 +0000 |
commit | 513c680b8c13bc644d9a12ec818c42b7ab5ee072 (patch) | |
tree | 2ad8099f4523512b84dacc6d135c659bddf247eb /res/res_rtp_asterisk.c | |
parent | b5609161e076a7357c7d9e96d889e11c72edbfa3 (diff) |
Adds pass-through support for codec CELT.
This patch adds pass-through support for CELT. CELT
formats are defined in codecs.conf and can be configured
to any sample rate a CELT endpoint supports. This patch also
addresses a crash in channel.c resulting from a frame list being
freed incorrectly. This crash was discovered while testing a CELT
translator which had to split encoded audio into multiple frames.
The codec translator is not a part of this patch, but may be
contributed in the future.
Review: https://reviewboard.asterisk.org/r/1294/
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@326855 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res/res_rtp_asterisk.c')
-rw-r--r-- | res/res_rtp_asterisk.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/res/res_rtp_asterisk.c b/res/res_rtp_asterisk.c index 60f7edacf..5948e664c 100644 --- a/res/res_rtp_asterisk.c +++ b/res/res_rtp_asterisk.c @@ -1254,6 +1254,7 @@ static int ast_rtp_write(struct ast_rtp_instance *instance, struct ast_frame *fr case AST_FORMAT_SPEEX16: case AST_FORMAT_SPEEX32: case AST_FORMAT_SILK: + case AST_FORMAT_CELT: case AST_FORMAT_G723_1: case AST_FORMAT_SIREN7: case AST_FORMAT_SIREN14: |