Pjsua2 documentation. PJSIP is a free and open source multimedia communication library wri...
Pjsua2 documentation. PJSIP is a free and open source multimedia communication library written in C with high level API in C, C++, Java, C#, and Python languages. endpoint. It provides high level API for constructing Session Initiation Protocol (SIP) multimedia user agent applications (a. Once invoked successfully, this function will complete asynchronously and report the result in onNatDetectionComplete (). Built with Sphinx using a theme provided by Read the Docs. You need to instantiate one and exactly one of this class, and from the instance you can then initialize and start the library. classEndpoint #include <endpoint. PJSUA2 includes pj::PersistentObject class to provide functionality to read/write data from/to a document (string or file). The following sections applies to building SWIG Python, Java, or C# modules. namespacepj¶ PJSUA2 API is inside pj namespace Typedefs typedefstd::vector<SslCertName>SslCertNameVector¶ Array of SSL certificate type and name. In the next sections we will learn how to build and use PJSUA2 in these languages. There can only be one instance of pjsua library in an application, hence this class is a singleton. hpp> Endpointrepresents an instance of pjsua library. org Table of contents: Overview Overview Features (Datasheet) License Getting started Getting PJSIP General Guidelines Android iPhone Mac/Linux/Unix Windows Windows Phone PJSUA2 - High level API guide Introduction Building PJSUA2 General concepts Hello world! Using PJSUA2 Sample . Jul 15, 2023 ยท Developed and maintained by the Python community, for the Python community. hpp¶ PJSUA2 Base Agent Operation. Documentation Main documentation site: https://docs. You can either put it in user. a Voice over IP/VoIP softphones). PJSUA2 provides SWIG interface for generating modules for high level languages such as Java, Python, and C#. k. pjsip. PJSUA2 is an object-oriented abstraction above PJSUA API. mak file in root pjproject directory like this: Then rebuild pjproject. On Linux/MacOS X/Unix, you need to build PJPROJECT with -fPIC option. It combines signaling protocol (SIP) with rich multimedia framework and NAT traversal functionality into high level API that i Standard C++ library is required. It implements standard based protocols such as SIP, SDP, RTP, STUN, TURN, and ICE. This is the main class of PJSUA2. Donate today! "PyPI", "Python Package Index", and the blocks logos are registered trademarks of the Python Software Foundation. The data can be simple data types such as boolean, number, string, and string arrays, or a user defined object. Public Functions IntVector utilSslGetAvailableCiphers () PJSUA2_THROW (Error) Get cipher list supported by SSL/TLS backend. void natDetectType (void) PJSUA2_THROW (Error) This is a utility function to detect NAT type in front of this endpoint.