mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-14 08:31:02 +00:00
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
This commit is contained in:
@@ -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 */
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user