From: Kevin P. Fleming Date: Sat, 28 Jan 2012 14:49:48 +0000 (+0000) Subject: Add 'L16-256' MIME subtype alias for slin16. X-Git-Tag: 1.8.10.0-rc1~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1efffc8d9562b0388c13fd45b66a5c6bc6d46b07;p=thirdparty%2Fasterisk.git Add 'L16-256' MIME subtype alias for slin16. Asterisk has supported the 'L16' MIME subtype for 16kHz signed linear (PCM) audio for quite some time, but some endpoints refer to it as 'L16-256'. This commit adds this as an alias for the existing format. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@353126 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/main/rtp_engine.c b/main/rtp_engine.c index 2543a54f56..7ce72d43e5 100644 --- a/main/rtp_engine.c +++ b/main/rtp_engine.c @@ -100,6 +100,7 @@ static const struct ast_rtp_mime_type { {{1, AST_FORMAT_ADPCM}, "audio", "DVI4", 8000}, {{1, AST_FORMAT_SLINEAR}, "audio", "L16", 8000}, {{1, AST_FORMAT_SLINEAR16}, "audio", "L16", 16000}, + {{1, AST_FORMAT_SLINEAR16}, "audio", "L16-256", 16000}, {{1, AST_FORMAT_LPC10}, "audio", "LPC", 8000}, {{1, AST_FORMAT_G729A}, "audio", "G729", 8000}, {{1, AST_FORMAT_G729A}, "audio", "G729A", 8000},