]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
rtp: Fix case typo in H263+ mime.
authorWalter Doekes <walter+asterisk@wjd.nu>
Tue, 13 May 2014 13:28:05 +0000 (13:28 +0000)
committerWalter Doekes <walter+asterisk@wjd.nu>
Tue, 13 May 2014 13:28:05 +0000 (13:28 +0000)
http://tools.ietf.org/html/rfc3555#section-4.2.6 says the canonical
mime subtype is "H263-1998", not "h263-1998". Original code was added
in r183101 on 2009-03-19 02:26:50 +0100.

This fixes issues with Polycom phones.

ASTERISK-23665 #close
ASTERISK-23665 #comment Patch r3529.patch uploaded by Guillaume Maudoux, backported by me.
Review: https://reviewboard.asterisk.org/r/3529/

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@413787 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/rtp_engine.c

index eecaa08454c6bd0c6d0fcace03be3923cddadff8..64f41d1c151c7e5041a09bd39acf18921069da7b 100644 (file)
@@ -124,7 +124,7 @@ static const struct ast_rtp_mime_type {
        {{1, AST_FORMAT_PNG}, "video", "PNG", 90000},
        {{1, AST_FORMAT_H261}, "video", "H261", 90000},
        {{1, AST_FORMAT_H263}, "video", "H263", 90000},
-       {{1, AST_FORMAT_H263_PLUS}, "video", "h263-1998", 90000},
+       {{1, AST_FORMAT_H263_PLUS}, "video", "H263-1998", 90000},
        {{1, AST_FORMAT_H264}, "video", "H264", 90000},
        {{1, AST_FORMAT_MP4_VIDEO}, "video", "MP4V-ES", 90000},
        {{1, AST_FORMAT_T140RED}, "text", "RED", 1000},