sipxmedialib
Version 3.3
Main Page
Related Pages
Classes
Files
File List
File Members
include
rtcp
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
{
24
etInvalidReport
,
25
etSenderReport
= 200,
26
etReceiverReport
,
27
etSDESReport
,
28
etByeReport
,
29
etAppReport
30
}
RTCP_REPORTS_ET
;
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
GetHeaderLength
virtual unsigned long GetHeaderLength(void)=0
etSDESReport
Definition:
IRTCPHeader.h:27
etAppReport
Definition:
IRTCPHeader.h:29
etInvalidReport
Definition:
IRTCPHeader.h:24
GetPayload
virtual RTCP_REPORTS_ET GetPayload(void)=0
SetSSRC
virtual void SetSSRC(unsigned long ulSSRC)=0
etSenderReport
Definition:
IRTCPHeader.h:25
RTCP_REPORTS_ET
RTCP_REPORTS_ET
Definition:
IRTCPHeader.h:23
GetSSRC
virtual unsigned long GetSSRC(void)=0
GetReportCount
virtual unsigned long GetReportCount(void)=0
etReceiverReport
Definition:
IRTCPHeader.h:26
GetVersion
virtual unsigned long GetVersion(void)=0
GetPadding
virtual unsigned long GetPadding(void)=0
ssrc_t
uint32_t ssrc_t
Definition:
RtcpConfig.h:62
IsOurSSRC
virtual bool IsOurSSRC(ssrc_t ulSSRC)=0
etByeReport
Definition:
IRTCPHeader.h:28
RtcpConfig.h
GetReportLength
virtual unsigned long GetReportLength(void)=0
Generated by
1.8.11