diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-01-07 17:54:22 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-01-07 17:54:22 +0000 |
commit | d1d90f47fd87ec50db7aa5badcc996854d93c0bf (patch) | |
tree | 34e09d3fba69a40757b42b46d8656a74744e6c7b /rtp.c | |
parent | cde8c70439d39f407bf73a892ef09caf81bb1899 (diff) |
Add support for H.264 with SIP and recording
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7855 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'rtp.c')
-rw-r--r-- | rtp.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -655,6 +655,7 @@ static struct { {{1, AST_FORMAT_H261}, "video", "H261"}, {{1, AST_FORMAT_H263}, "video", "H263"}, {{1, AST_FORMAT_H263_PLUS}, "video", "h263-1998"}, + {{1, AST_FORMAT_H264}, "video", "H264"}, }; /* Static (i.e., well-known) RTP payload types for our "AST_FORMAT..."s: @@ -683,6 +684,7 @@ static struct rtpPayloadType static_RTP_PT[MAX_RTP_PT] = { [34] = {1, AST_FORMAT_H263}, [103] = {1, AST_FORMAT_H263_PLUS}, [97] = {1, AST_FORMAT_ILBC}, + [99] = {1, AST_FORMAT_H264}, [101] = {0, AST_RTP_DTMF}, [110] = {1, AST_FORMAT_SPEEX}, [111] = {1, AST_FORMAT_G726}, @@ -1515,6 +1517,7 @@ int ast_rtp_write(struct ast_rtp *rtp, struct ast_frame *_f) case AST_FORMAT_H261: case AST_FORMAT_H263: case AST_FORMAT_H263_PLUS: + case AST_FORMAT_H264: case AST_FORMAT_G723_1: case AST_FORMAT_LPC10: case AST_FORMAT_SPEEX: |