sipxmedialib  Version 3.3
ISetSenderStatistics.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 // Border Guard
15 #ifndef _ISetSenderStatistics_h
16 #define _ISetSenderStatistics_h
17 
18 #include "rtcp/RtcpConfig.h"
19 
20 // Includes
21 #include "IBaseClass.h"
22 
23 
24 // Defines
25 #define SAMPLES_PER_SEC 8000 // Default samples per second
26 
41 interface ISetSenderStatistics : public IBaseClass
42  {
43 
44 // Public Methods
45 
46 public:
47 
68  virtual void IncrementCounts(uint32_t ulOctetCount, rtpts_t RTPTimestampBase, rtpts_t RTPTimestamp, ssrc_t ssrc) = 0;
69 
91  virtual void CSR_SetRTPTimestamp(uint32_t ulRandomOffset,
92  uint32_t ulSamplesPerSecond = SAMPLES_PER_SEC) = 0;
93 
111  virtual void SetSRAdjustUSecs(int iUSecs = 0) = 0;
112 
113 };
114 
115 #endif
virtual void SetSRAdjustUSecs(int iUSecs=0)=0
interface rtpts_t rtpts_t RTPTimestamp
Definition: ISetSenderStatistics.h:68
uint32_t rtpts_t
Definition: RtcpConfig.h:63
#define SAMPLES_PER_SEC
Definition: ISetSenderStatistics.h:25
interface rtpts_t rtpts_t ssrc_t ssrc
Definition: ISetSenderStatistics.h:68
interface rtpts_t RTPTimestampBase
Definition: ISetSenderStatistics.h:68
uint32_t ssrc_t
Definition: RtcpConfig.h:62
virtual void CSR_SetRTPTimestamp(uint32_t ulRandomOffset, uint32_t ulSamplesPerSecond=SAMPLES_PER_SEC)=0