sipxmedialib  Version 3.3
IRTCPHeader.h
Go to the documentation of this file.
1 //
2 // Copyright (C) 2006-2013 SIPez LLC. All rights reserved.
3 //
4 // Copyright (C) 2004-2006 SIPfoundry Inc.
5 // Licensed by SIPfoundry under the LGPL license.
6 //
7 // Copyright (C) 2004-2006 Pingtel Corp. All rights reserved.
8 // Licensed to SIPfoundry under a Contributor Agreement.
9 //
10 // $$
12 
13 
14 
15 
16 // Border Guard
17 #ifndef _IRTCPHeader_h
18 #define _IRTCPHeader_h
19 
20 #include "rtcp/RtcpConfig.h"
21 
22 // Enumerations
23 typedef enum {
31 
49 interface IRTCPHeader
50  {
51 
52 // Public Methods
53 public:
54 
55 virtual ~IRTCPHeader() {}
56 
74  virtual unsigned long GetHeaderLength(void)=0;
75 
93  virtual unsigned long GetSSRC(void)=0;
94 
95 
114  virtual unsigned long GetVersion(void)=0;
115 
133  virtual unsigned long GetPadding(void)=0;
134 
135 
153  virtual unsigned long GetReportCount(void)=0;
154 
155 
173  virtual unsigned long GetReportLength(void)=0;
174 
175 
193  virtual RTCP_REPORTS_ET GetPayload(void)=0;
194 
214  virtual bool IsOurSSRC(ssrc_t ulSSRC)=0;
215 
216 
217 
236  virtual void SetSSRC(unsigned long ulSSRC)=0;
237 
238 
239 
240 };
241 
242 
243 #endif
virtual unsigned long GetHeaderLength(void)=0
Definition: IRTCPHeader.h:27
Definition: IRTCPHeader.h:29
Definition: IRTCPHeader.h:24
virtual RTCP_REPORTS_ET GetPayload(void)=0
virtual void SetSSRC(unsigned long ulSSRC)=0
Definition: IRTCPHeader.h:25
RTCP_REPORTS_ET
Definition: IRTCPHeader.h:23
virtual unsigned long GetSSRC(void)=0
virtual unsigned long GetReportCount(void)=0
Definition: IRTCPHeader.h:26
virtual unsigned long GetVersion(void)=0
virtual unsigned long GetPadding(void)=0
uint32_t ssrc_t
Definition: RtcpConfig.h:62
virtual bool IsOurSSRC(ssrc_t ulSSRC)=0
Definition: IRTCPHeader.h:28
virtual unsigned long GetReportLength(void)=0