diff options
author | David Vossel <dvossel@digium.com> | 2010-06-17 17:23:43 +0000 |
---|---|---|
committer | David Vossel <dvossel@digium.com> | 2010-06-17 17:23:43 +0000 |
commit | b00f58da25df6d86a409a7e278b987f6ee863fb4 (patch) | |
tree | 200243a6d4e70905af7d2e36981d2928f03e6936 /main/rtp_engine.c | |
parent | 0ef555074237d2db34bc99bf1fb913bbe9746a25 (diff) |
adds speex 16khz audio support
(closes issue #17501)
Reported by: fabled
Patches:
asterisk-trunk-speex-wideband-v2.patch uploaded by fabled (license 448)
Tested by: malcolmd, fabled, dvossel
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@271231 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/rtp_engine.c')
-rw-r--r-- | main/rtp_engine.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/main/rtp_engine.c b/main/rtp_engine.c index c42d3f6fb..5e4db2309 100644 --- a/main/rtp_engine.c +++ b/main/rtp_engine.c @@ -102,6 +102,7 @@ static const struct ast_rtp_mime_type { {{1, AST_FORMAT_G729A}, "audio", "G729A", 8000}, {{1, AST_FORMAT_G729A}, "audio", "G.729", 8000}, {{1, AST_FORMAT_SPEEX}, "audio", "speex", 8000}, + {{1, AST_FORMAT_SPEEX16}, "audio", "speex", 16000}, {{1, AST_FORMAT_ILBC}, "audio", "iLBC", 8000}, /* this is the sample rate listed in the RTP profile for the G.722 codec, *NOT* the actual sample rate of the media stream @@ -171,6 +172,7 @@ static const struct ast_rtp_payload_type static_RTP_PT[AST_RTP_MAX_PT] = { [112] = {1, AST_FORMAT_G726_AAL2}, [115] = {1, AST_FORMAT_SIREN14}, [116] = {1, AST_FORMAT_G719}, + [117] = {1, AST_FORMAT_SPEEX16}, [121] = {0, AST_RTP_CISCO_DTMF}, /* Must be type 121 */ }; |