summaryrefslogtreecommitdiff
path: root/doc/pjsip-book/samples.rst
blob: 7c8191d8e2f49bbdad6b368a469a7a3457c98e03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33

PJSUA2 Sample Applications
***********************************

Sample Apps
===========

C++
-----
There is a very simple C++ sample application available in ``pjsip-apps/src/samples/pjsua2_demo.cpp``. The binary will be located in ``pjsip-apps/bin/samples``.


Python GUI
------------------
This is a rather complete Python GUI sample apps, located in ``pjsip-apps/src/pygui``. It requires Python 2.7 and above, and the Python SWIG module of course. To use the application, simply run::

    python application.py

Android
----------------
Please see https://trac.pjsip.org/repos/wiki/Getting-Started/Android#pjsua2 for Android sample application.

Java
----------------
There is a Hello World type of application located in ``pjsip-apps/src/swig/java``. This requires the Java SWIG module. After building the SWIG module, run ``make test`` from this directory to run the app.


Miscellaneous
===================

How to 
-----------------------------