Commit Graph

4110 Commits

Author SHA1 Message Date
Benny Prijono 156d42580c Re #1630: Updated GNU GPL COPYING file to use the official one from http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt. It has minor differences with the one we used
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4706 74dad513-b988-da41-8d7b-12977e46ad98
2014-01-17 03:03:47 +00:00
Sauw Ming be9ab067d8 Re #1723: Fixed compilation and linking errors
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4705 74dad513-b988-da41-8d7b-12977e46ad98
2014-01-16 06:33:19 +00:00
Sauw Ming f33813f793 Closed #1723: Merging pjsua2 branch into trunk
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4704 74dad513-b988-da41-8d7b-12977e46ad98
2014-01-16 05:30:46 +00:00
Riza Sulistyo a58f57bc38 Re #1721: Clear invite transaction before calling on_call_tsx_state (on transaction terminated)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4703 74dad513-b988-da41-8d7b-12977e46ad98
2014-01-07 10:55:10 +00:00
Nanang Izzuddin 653c0d27b6 Re #1519: Put back automatic "writer" deletion in Endpoint destructor.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4702 74dad513-b988-da41-8d7b-12977e46ad98
2014-01-07 07:35:31 +00:00
Nanang Izzuddin 1683d49f75 Close #1720:
- Added configure flags --with-external-srtp and --disable-resample.
 - Added macro setting PJMEDIA_LIBSRTP_AUTO_INIT_DEINIT to allow application to handle libsrtp init & deinit by itself.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4701 74dad513-b988-da41-8d7b-12977e46ad98
2014-01-03 03:44:05 +00:00
Sauw Ming f226c99fac Re #1630 (misc): Fixed documentation of pjsip_generic_int_hdr
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4700 74dad513-b988-da41-8d7b-12977e46ad98
2014-01-02 01:25:22 +00:00
Nanang Izzuddin 91131fc69d Re #1519: Fixed assertion and crash in Endpoint destruction caused by late destroy (after pjsua destroyed) and double deletes of audio device media.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4699 74dad513-b988-da41-8d7b-12977e46ad98
2013-12-19 03:49:05 +00:00
Nanang Izzuddin 9f8f280dd5 Re #1716: Maintain reference to log writer to avoid crash (caused by premature cleanup by GC).
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4698 74dad513-b988-da41-8d7b-12977e46ad98
2013-12-19 03:39:30 +00:00
Nanang Izzuddin e062d51ea4 Re #1716: Misc fixes/updates on Android app based on pjsua2+SWIG, e.g: fixed java string comparisons, added build config for ndk-build (for native debugging), updates on SVN props.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4697 74dad513-b988-da41-8d7b-12977e46ad98
2013-12-18 11:42:04 +00:00
Riza Sulistyo 85df2905bf Re #1716:Added java desktop sample application.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4696 74dad513-b988-da41-8d7b-12977e46ad98
2013-12-18 07:14:54 +00:00
Nanang Izzuddin 775f753f7d Fixed #1718: Immediately shift call state to DISCONNECTED after receiving 422 response without Min-SE header.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4695 74dad513-b988-da41-8d7b-12977e46ad98
2013-12-18 07:10:12 +00:00
Nanang Izzuddin 17ab10d37a Fixed #1717: Destroy media subsystem after all pollings/busy_sleep() are done, but leave deallocating media transport (via pjsua_media_channel_deinit()) before the pollings to allow clean TURN destroy.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4694 74dad513-b988-da41-8d7b-12977e46ad98
2013-12-17 09:01:21 +00:00
Nanang Izzuddin 6c930b9c7d Re #1716: Handle recreated activity, for example by device rotation.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4693 74dad513-b988-da41-8d7b-12977e46ad98
2013-12-14 01:14:07 +00:00
Nanang Izzuddin 70bde3b601 Re #1519: Misc fixes in pjsua2:
- Changed AccountConfig::toPj() signature, because a pjsua_acc_config instance should not be copied/assigned to another pjsua_acc_config instance as it contains list.
 - Fixed assertion in Endpoint destructor caused by access to pjlib mutex after pjlib is destroyed.
 - Changed VS2005 sample_debug project to allow debugging C++ code such as pjsua2_demo.cpp.
 - Compile warnings on VS2005.
 - Fixed SWIG python unit test.



git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4692 74dad513-b988-da41-8d7b-12977e46ad98
2013-12-13 11:44:51 +00:00
Nanang Izzuddin 3270796782 Re #1716: Initial implementation of new Android app based on pjsua2+SWIG API.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4691 74dad513-b988-da41-8d7b-12977e46ad98
2013-12-13 09:07:53 +00:00
Nanang Izzuddin ba10fb5124 Re #1708: Cleanup few chat stuffs in Python GUI.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4690 74dad513-b988-da41-8d7b-12977e46ad98
2013-12-13 01:28:16 +00:00
Nanang Izzuddin 8ccd01859a Re #1516: Avoid duplicated LDFLAGS in pjlib-test, which may raise linking errors (e.g: on Android).
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4689 74dad513-b988-da41-8d7b-12977e46ad98
2013-12-13 01:16:10 +00:00
Benny Prijono 174fe6650d Misc re #1630: added string.h to pjlib-util.h. Thanks Johan lantz for the suggestion
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4688 74dad513-b988-da41-8d7b-12977e46ad98
2013-12-10 10:58:10 +00:00
Nanang Izzuddin de206c7e10 Re #1708: Misc updates:
- Explicitly invoke call hangup in stopping audio.
 - Show text chat box, if it's hidden, when user initiates instant message (right click on buddy).



git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4687 74dad513-b988-da41-8d7b-12977e46ad98
2013-12-05 13:20:37 +00:00
Nanang Izzuddin f71702e9b6 Re #1708:
- Changed participant managements in Chat, e.g: changed Buddy based to URI based, create temporary Buddy for incoming call/IM from non-buddy.
 - Implemented simple media features in chat window (mute, volume, codec info).
 - Misc: added window menu listing chat windows, changed behaviour on closing chat window, etc.



git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4686 74dad513-b988-da41-8d7b-12977e46ad98
2013-12-05 11:04:36 +00:00
Nanang Izzuddin 56717f77e9 Re #1519: Added typecast methods for AudioMedia & its descendants, as Python cannot downcast among C++ classes, e.g: Media to AudioMedia.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4685 74dad513-b988-da41-8d7b-12977e46ad98
2013-12-05 10:53:12 +00:00
Benny Prijono c910290b21 Re #1519: fixed assertion when unable to resolve destination
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4684 74dad513-b988-da41-8d7b-12977e46ad98
2013-12-05 08:25:27 +00:00
Benny Prijono 9df4b9eacf Re #1519: added some more NULL checking in SIP data types
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4683 74dad513-b988-da41-8d7b-12977e46ad98
2013-12-05 07:21:24 +00:00
Benny Prijono f835b753a7 Re #1519: fixed crash when receiving typing indication inside a call
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4682 74dad513-b988-da41-8d7b-12977e46ad98
2013-12-05 06:35:28 +00:00
Benny Prijono de525ebe1d Re #1519: minor fix to use pjmedia_format_copy() instead of plain assignment, and add return value to pjsua main()
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4681 74dad513-b988-da41-8d7b-12977e46ad98
2013-12-05 04:20:19 +00:00
Benny Prijono 2aaaea3a5b Re #1519: added Tx/Rx level adjustment in conf port info in pjsua-lib and pjsua2, and format in conf_port_info
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4680 74dad513-b988-da41-8d7b-12977e46ad98
2013-12-05 04:15:24 +00:00
Benny Prijono f5e32ccaa6 Re #1708: bring back logging and some fixes in settings dialog
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4679 74dad513-b988-da41-8d7b-12977e46ad98
2013-12-05 03:04:38 +00:00
Benny Prijono bebd0971c4 Re #1519: fixed threading issues on Python. On Python, only threads created by Python can call Python. This creates problem with calling callback from worker thread. The SIP worker thread can be disabled, but we have other worker threads such as the sound device that cannot be disabled. The solution in this patch is to create small framework to post a job to "main thread" during libHandleEvents(). The main thread is thread that calls libCreate().
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4678 74dad513-b988-da41-8d7b-12977e46ad98
2013-12-05 03:03:36 +00:00
Nanang Izzuddin 559f01c4c9 Re #1708: Implement adding participants, also various misc updates/fixes.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4677 74dad513-b988-da41-8d7b-12977e46ad98
2013-12-04 12:19:48 +00:00
Benny Prijono e08f706e95 Re #1519: added AudioMedia for the sound device
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4676 74dad513-b988-da41-8d7b-12977e46ad98
2013-12-04 07:05:35 +00:00
Benny Prijono 654d0a2e23 Re #1708: fix so that deleted account does not register itself to the treeview again during unregistration
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4675 74dad513-b988-da41-8d7b-12977e46ad98
2013-12-04 07:04:49 +00:00
Benny Prijono 5f8aaf2096 Re #1519: added misc comment to clarify
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4674 74dad513-b988-da41-8d7b-12977e46ad98
2013-12-04 04:05:02 +00:00
Benny Prijono b193b53196 Re #1519: fixed compilation error in pjsua2_demo
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4673 74dad513-b988-da41-8d7b-12977e46ad98
2013-12-04 03:08:24 +00:00
Benny Prijono cb7fd11125 Re #1519: doxygen fixes and other minor fixes
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4672 74dad513-b988-da41-8d7b-12977e46ad98
2013-12-04 03:01:20 +00:00
Nanang Izzuddin c083f3adcb Re #1708: Initial work on chat window.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4671 74dad513-b988-da41-8d7b-12977e46ad98
2013-12-04 02:46:42 +00:00
Nanang Izzuddin cc45350a25 Misc update & fix:
- added new files (call & media) to VS2005 project
 - fixed compile warnings
 - fixed compile error when video is disabled
 - fixed Makefile when JAVA_HOME env var is set



git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4670 74dad513-b988-da41-8d7b-12977e46ad98
2013-12-04 02:38:20 +00:00
Riza Sulistyo b23faaba40 Re #1519: Added codec management operations to Media API in pjsua2.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4669 74dad513-b988-da41-8d7b-12977e46ad98
2013-12-03 10:45:36 +00:00
Riza Sulistyo 3932e857bb Re #1519: Added audio device management operations to Media API in pjsua2.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4668 74dad513-b988-da41-8d7b-12977e46ad98
2013-12-03 07:14:22 +00:00
Benny Prijono 2f2de4cc3b Re #1630: updated wrong documentation about default jb_init value in pjsua. The default is 0, not 150.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4667 74dad513-b988-da41-8d7b-12977e46ad98
2013-12-03 05:22:10 +00:00
Sauw Ming 638413c5ea Re #1519: Add call media
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4666 74dad513-b988-da41-8d7b-12977e46ad98
2013-12-02 04:40:29 +00:00
Benny Prijono bb13e795c3 Re #1519: implemented Settings dialog and reorganization in config variables in Pygui app
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4665 74dad513-b988-da41-8d7b-12977e46ad98
2013-11-29 12:16:43 +00:00
Benny Prijono ed3543416a Re #1519: Fully configurable account settings (more or less) and other small fixes
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4664 74dad513-b988-da41-8d7b-12977e46ad98
2013-11-29 07:39:07 +00:00
Sauw Ming 64e77a85c2 Re #1519: Add Call API in pjsua2.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4663 74dad513-b988-da41-8d7b-12977e46ad98
2013-11-29 05:56:02 +00:00
Riza Sulistyo ff6231c790 Re #1519: Added Media API in pjsua2.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4662 74dad513-b988-da41-8d7b-12977e46ad98
2013-11-29 03:05:48 +00:00
Benny Prijono a9b82cfbed Fixed #1714: Workaround for stuck in TCP/TLS shutdown when another thread is destroying the transport
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4661 74dad513-b988-da41-8d7b-12977e46ad98
2013-11-29 00:33:05 +00:00
Nanang Izzuddin 83f15d5e7d Re #1519: Added VS2005 project for pjsua2.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4660 74dad513-b988-da41-8d7b-12977e46ad98
2013-11-27 10:50:42 +00:00
Benny Prijono ba493f2041 More #1519: renamed pj_status_code member from status to code for more consistency, and removed exception throwing from Account destructor
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4659 74dad513-b988-da41-8d7b-12977e46ad98
2013-11-27 10:42:21 +00:00
Nanang Izzuddin 91c14d9065 Re #1519: Minor fix on TransportInfo, use fromPj() method to import data from pjsua_transport_info.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4658 74dad513-b988-da41-8d7b-12977e46ad98
2013-11-27 10:18:18 +00:00
Nanang Izzuddin 732c75a69d Re #1519: Added presence API in pjsua2.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4657 74dad513-b988-da41-8d7b-12977e46ad98
2013-11-27 09:37:32 +00:00