BLOG | DOCUMENTATION | TRAC

Home --> Documentations --> PJSIP Reference

Compile time settings

Macros

#define PJSUA2_ERROR_HAS_EXTRA_INFO   1
 
#define PJSUA2_MAX_SDP_BUF_LEN   1024
 
#define DEPRECATED_FOR_TICKET_2232   1
 
#define PJSUA2_THROW(x)
 

Detailed Description

Macro Definition Documentation

◆ PJSUA2_ERROR_HAS_EXTRA_INFO

#define PJSUA2_ERROR_HAS_EXTRA_INFO   1

Specify if the Error exception info should contain operation and source file information.

◆ PJSUA2_MAX_SDP_BUF_LEN

#define PJSUA2_MAX_SDP_BUF_LEN   1024

Maximum buffer length to print SDP content for SdpSession. Set this to 0 if the printed SDP is not needed.

◆ DEPRECATED_FOR_TICKET_2232

#define DEPRECATED_FOR_TICKET_2232   1

Ticket #2189 described some lists of objects which is not thread safe. The ticket deprecated some APIs which uses those lists and introduce new one to replace them. This settings will disable the deprecated API all together. See also https://trac.pjsip.org/repos/ticket/2232

 


PJSIP Open Source, high performance, small footprint, and very very portable SIP stack
Copyright (C) 2006-2008 Teluu Inc.