sipxmedialib  Version 3.3
RtcpConfig.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 _RTCPCONFIG_H_ /* [ */
16 #define _RTCPCONFIG_H_
17 
18 
19 /************************************************************************
20  *
21  * OK, here's the story...
22  *
23  * As of this time (4 August 2000) the only components affected by
24  * changes to this file are rtcp, mp, cp, and Pinger.cpp.
25  *
26  * On VxWorks, there is no need to edit this file. Just set the
27  * environment variable USE_RTCP=No and then clean and rebuild the
28  * affected libraries (listed above), then rebuild the kernel.
29  *
30  * On WIN32, it's a little more of a pain. Clean the subdirectories,
31  * edit this file to define or undefine EXCLUDE_RTCP, then rebuild
32  * those subdirectories. Unfortunately, many of the APPs (*.exe files
33  * and maybe some *.dll files) recompile Pinger.cpp and link with the
34  * resulting object file, so be sure that you do the right thing with
35  * those; you are on your own here. I would just clean the entire tree
36  * and rebuild everything after editing this file on WIN32.
37  *
38  * And, you might just want to do the same thing on VxWorks for safety...
39  * If any other components ever make any calls to any RTCP files, be sure
40  * that their Makefiles are modified in the same way as the mp/Makefile
41  * (search for RTCP in that Makefile to see what I mean).
42  ***********************************************************************/
43 
44 #ifdef _VXWORKS /* [ */
45 #define EXCLUDE_RTCP
46 /* #undef EXCLUDE_RTCP */
47 #endif /* VXWORKS ] */
48 
49 #ifdef WIN32 /* [ */
50 #define EXCLUDE_RTCP
51 #undef EXCLUDE_RTCP
52 #endif /* WIN32 ] */
53 
54 #ifndef EXCLUDE_RTCP /* [ */
55 #define INCLUDE_RTCP
56 #define PINGTEL_OSSOCKET
57 #define PINGTEL_PRINTF
58 #endif /* EXCLUDE_RTCP ] */
59 
60 #include "os/OsIntTypes.h"
61 
62 typedef uint32_t ssrc_t;
63 typedef uint32_t rtpts_t;
64 
65 
66 #define RTCP_DEBUG_REFCOUNTS
67 #undef RTCP_DEBUG_REFCOUNTS
68 #ifdef RTCP_DEBUG_REFCOUNTS /* [ */
69 #define ADD_RELEASE_CALL_ARGS(x) (x)
70 #define ADD_RELEASE_PROTO_ARGS(x) x
71 #define CBASECLASS_CALL_ARGS(x, y) x, y
72 #define CBASECLASS_PROTO_ARGS(x) x
73 #else /* RTCP_DEBUG_REFCOUNTS ] [ */
74 #define ADD_RELEASE_CALL_ARGS(x)
75 #define ADD_RELEASE_PROTO_ARGS(x) (void)
76 #define CBASECLASS_CALL_ARGS(x, y)
77 #define CBASECLASS_PROTO_ARGS(x) ()
78 #define callLineNum 0
79 #endif /* RTCP_DEBUG_REFCOUNTS ] */
80 
81 #endif /* _RTCPCONFIG_H_ ] */
uint32_t rtpts_t
Definition: RtcpConfig.h:63
uint32_t ssrc_t
Definition: RtcpConfig.h:62