38 #define RTP_MAXCSRCS 15
39 #define RTP_MINPACKETSIZE 600
40 #define RTP_DEFAULTPACKETSIZE 1400
41 #define RTP_PROBATIONCOUNT 2
42 #define RTP_MAXPRIVITEMS 256
43 #define RTP_SENDERTIMEOUTMULTIPLIER 2
44 #define RTP_BYETIMEOUTMULTIPLIER 1
45 #define RTP_MEMBERTIMEOUTMULTIPLIER 5
46 #define RTP_COLLISIONTIMEOUTMULTIPLIER 10
47 #define RTP_NOTETTIMEOUTMULTIPLIER 25
48 #define RTP_DEFAULTSESSIONBANDWIDTH 10000.0
50 #define RTP_RTCPTYPE_SR 200
51 #define RTP_RTCPTYPE_RR 201
52 #define RTP_RTCPTYPE_SDES 202
53 #define RTP_RTCPTYPE_BYE 203
54 #define RTP_RTCPTYPE_APP 204
56 #define RTCP_SDES_ID_CNAME 1
57 #define RTCP_SDES_ID_NAME 2
58 #define RTCP_SDES_ID_EMAIL 3
59 #define RTCP_SDES_ID_PHONE 4
60 #define RTCP_SDES_ID_LOCATION 5
61 #define RTCP_SDES_ID_TOOL 6
62 #define RTCP_SDES_ID_NOTE 7
63 #define RTCP_SDES_ID_PRIVATE 8
64 #define RTCP_SDES_NUMITEMS_NONPRIVATE 7
65 #define RTCP_SDES_MAXITEMLENGTH 255
67 #define RTCP_BYE_MAXREASONLENGTH 255
68 #define RTCP_DEFAULTMININTERVAL 5.0
69 #define RTCP_DEFAULTBANDWIDTHFRACTION 0.05
70 #define RTCP_DEFAULTSENDERFRACTION 0.25
71 #define RTCP_DEFAULTHALFATSTARTUP true
72 #define RTCP_DEFAULTIMMEDIATEBYE true
73 #define RTCP_DEFAULTSRBYE true
75 #if (defined(WIN32) || defined(_WIN32_WCE))
76 #if (!defined(_WIN32_WCE)) && (defined(_MSC_VER) && _MSC_VER >= 1400 )
77 #define RTP_SNPRINTF _snprintf_s
79 #define RTP_SNPRINTF _snprintf
82 #define RTP_SNPRINTF snprintf
83 #endif // WIN32 || _WIN32_WCE
85 #endif // RTPDEFINES_H