aboutsummaryrefslogtreecommitdiffstats
path: root/channels/iax2.h
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2003-06-30 00:48:27 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2003-06-30 00:48:27 +0000
commita0da9453b67595b1cafefccaba23d7bf68d56e4a (patch)
tree34c362608ba22f633c0d032c93578513be10a360 /channels/iax2.h
parenta85e25348119219e90ca3ec3895653dc80b0dc42 (diff)
Add video support to IAX2 (theoretically)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1141 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/iax2.h')
-rwxr-xr-xchannels/iax2.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/channels/iax2.h b/channels/iax2.h
index d69459999..1a14759bb 100755
--- a/channels/iax2.h
+++ b/channels/iax2.h
@@ -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];