diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-03-05 20:57:49 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-03-05 20:57:49 +0000 |
commit | f891c3efbcc4dcd9a6ef56456acea71d20313f70 (patch) | |
tree | 31def79c8bff6b9b4ac8475dffcd5188bca8e5ef /rtp.c | |
parent | 6a621b4cc71ab3d3efd71b9a519fa139088d31a4 (diff) |
Merge H.263+ support (bug #3709)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5149 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'rtp.c')
-rwxr-xr-x | rtp.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -666,6 +666,7 @@ static struct { {{1, AST_FORMAT_PNG}, "video", "PNG"}, {{1, AST_FORMAT_H261}, "video", "H261"}, {{1, AST_FORMAT_H263}, "video", "H263"}, + {{1, AST_FORMAT_H263_PLUS}, "video", "h263-1998"}, }; /* Static (i.e., well-known) RTP payload types for our "AST_FORMAT..."s: @@ -690,6 +691,7 @@ static struct rtpPayloadType static_RTP_PT[MAX_RTP_PT] = { [26] = {1, AST_FORMAT_JPEG}, [31] = {1, AST_FORMAT_H261}, [34] = {1, AST_FORMAT_H263}, + [103] = {1, AST_FORMAT_H263_PLUS}, [97] = {1, AST_FORMAT_ILBC}, [101] = {0, AST_RTP_DTMF}, [110] = {1, AST_FORMAT_SPEEX}, @@ -1400,6 +1402,7 @@ int ast_rtp_write(struct ast_rtp *rtp, struct ast_frame *_f) /* fall through to... */ case AST_FORMAT_H261: case AST_FORMAT_H263: + case AST_FORMAT_H263_PLUS: case AST_FORMAT_G723_1: case AST_FORMAT_LPC10: case AST_FORMAT_SPEEX: |