diff options
author | Gerald Begumisa <ben_g@users.sourceforge.net> | 2008-10-09 21:55:51 +0000 |
---|---|---|
committer | Gerald Begumisa <ben_g@users.sourceforge.net> | 2008-10-09 21:55:51 +0000 |
commit | c09609077b6f5eb70db855eed4e909d9d563ffcc (patch) | |
tree | 2031d9259e4d2ec2c4d8830c0d92a5d09e416d43 /orkaudio/audiocaptureplugins/voip/PacketHeaderDefs.h | |
parent | 5bb054adba4ee2e174886852ddde6a70a4ecb9a9 (diff) |
Added RTCP support. Key functionality is the ability to set the local party basing on the RTCP SDES information. A new configuration parameter, RtcpDetect, has been added. To enable RTCP, set RtcpDetect to true. This configuration should be done under the VoIpPlugin section of config.xml.
git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@562 09dcff7a-b715-0410-9601-b79a96267cd0
Diffstat (limited to 'orkaudio/audiocaptureplugins/voip/PacketHeaderDefs.h')
-rw-r--r-- | orkaudio/audiocaptureplugins/voip/PacketHeaderDefs.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/orkaudio/audiocaptureplugins/voip/PacketHeaderDefs.h b/orkaudio/audiocaptureplugins/voip/PacketHeaderDefs.h index cc1ed0a..6c7fa3f 100644 --- a/orkaudio/audiocaptureplugins/voip/PacketHeaderDefs.h +++ b/orkaudio/audiocaptureplugins/voip/PacketHeaderDefs.h @@ -101,6 +101,19 @@ typedef struct unsigned short duration; } RtpEventPayloadFormat; +// Structure of common header for RTCP +typedef struct { + unsigned char vpc; // version (2 bits), padding (1 bit), count (5 bits) + unsigned char pt; // RTCP packet type + unsigned short length; // RTCP packet length in words without this word (i.e minus 1) +} RtcpCommonHeaderStruct; + +typedef struct { + unsigned char type; + unsigned char length; + unsigned char data[0]; +} RtcpSdesCsrcItem; + //=================================================================== // Cisco Callmanager -> endpoint messages typedef struct |