Add video support to IAX2 (theoretically)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1141 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2003-06-30 00:48:27 +00:00
parent 6fb26bad22
commit f7f30d8c63
2 changed files with 85 additions and 15 deletions

View File

@@ -142,6 +142,13 @@ struct ast_iax2_meta_hdr {
unsigned char data[0];
} __attribute__ ((__packed__));
struct ast_iax2_video_hdr {
unsigned short zeros; /* Zeros field -- must be zero */
unsigned short callno; /* Video call number */
unsigned short ts; /* Timestamp and mark if present */
unsigned char data[0];
} __attribute__ ((__packed__));
struct ast_iax2_meta_trunk_hdr {
unsigned int ts; /* 32-bit timestamp for all messages */
unsigned char data[0];