Commit Graph

4132 Commits

Author SHA1 Message Date
Sauw Ming 1afe01bf0f Re #1630 (misc):
Fixed os_darwinos.h (however, if PJ_AUTOCONF is defined, this file should not be used)



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4626 74dad513-b988-da41-8d7b-12977e46ad98
2013-10-21 07:04:38 +00:00
Sauw Ming 37a4cc7439 Re #1630 (misc): related to r4623, missing the generated configure script
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4625 74dad513-b988-da41-8d7b-12977e46ad98
2013-10-21 06:49:58 +00:00
Sauw Ming ab249ac0e5 Re #1630 (misc):
Fixed compiler warnings. Thanks to Mark Michelson for the patch.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4624 74dad513-b988-da41-8d7b-12977e46ad98
2013-10-21 06:37:30 +00:00
Sauw Ming 113e3eced1 Re #1630 (misc): Thanks to Mark Michelson for the patch
This change makes the check for libm always occur during configuration, and it
also tests for the 'sin' function since there are places in the code that
require this function.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4623 74dad513-b988-da41-8d7b-12977e46ad98
2013-10-21 06:32:16 +00:00
Nanang Izzuddin 4f27720dc2 Close #1705: Added playback and capture callbacks for echo canceller algo. Note that this changeset also modified current Speex AEC algo behaviors:
- applied this two APIs model for Speex AEC algo
 - enabled Speex AGC preprocessing



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4622 74dad513-b988-da41-8d7b-12977e46ad98
2013-10-21 03:11:14 +00:00
Nanang Izzuddin 2f2a2ad486 Misc (re #1630): replaced htons() with ntohs() in l16_decode() on little endian platforms.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4621 74dad513-b988-da41-8d7b-12977e46ad98
2013-10-17 02:43:59 +00:00
Nanang Izzuddin 83757ced84 Re #1519:
- allow build on mingw32
 - fixed tests




git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4619 74dad513-b988-da41-8d7b-12977e46ad98
2013-10-16 09:19:08 +00:00
Sauw Ming e56902adea Re #1697: Use AVAudioSession to set audio session category and activate/deactivate audio session
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4617 74dad513-b988-da41-8d7b-12977e46ad98
2013-10-09 03:34:26 +00:00
Benny Prijono fac5c3bb23 Re #1703 General bug fixes: fixed mutex not released on some error condition
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4616 74dad513-b988-da41-8d7b-12977e46ad98
2013-10-08 11:15:22 +00:00
Benny Prijono 6e2e6e27e6 Re #1703 General bug fixes: fixed some wrong null checking order
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4615 74dad513-b988-da41-8d7b-12977e46ad98
2013-10-08 11:14:42 +00:00
Benny Prijono 6ba9e608bf Re #1703 General bug fixes: fixed wrong sizeof() in call to bzero(), memset(), or memcpy()
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4614 74dad513-b988-da41-8d7b-12977e46ad98
2013-10-08 11:13:11 +00:00
Benny Prijono 58dba631ff Re #1703: fixing general bugs. First installment: correct handling of snprintf return value
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4613 74dad513-b988-da41-8d7b-12977e46ad98
2013-10-08 09:08:13 +00:00
Benny Prijono f30b7a6fa2 Misc (re #1630): fixed error in parsing ldflags for building Python module
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4612 74dad513-b988-da41-8d7b-12977e46ad98
2013-10-08 06:45:08 +00:00
Benny Prijono 6a873428d6 Re #1694: fixed bug in the previous commit with the RTP config instantiation
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4611 74dad513-b988-da41-8d7b-12977e46ad98
2013-10-08 04:48:11 +00:00
Sauw Ming eecf85e11c Re #1697: Add device info in pj_get_sys_info() and set default clock rate for iPhone 5 running iOS7 to 44100Hz
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4610 74dad513-b988-da41-8d7b-12977e46ad98
2013-10-03 10:26:14 +00:00
Nanang Izzuddin 6b9b89808d Close #1701: added received message info into incoming call callback
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4609 74dad513-b988-da41-8d7b-12977e46ad98
2013-10-02 03:19:54 +00:00
Benny Prijono 64d67b1f92 Re #1519:
- Account API (prototype)
 - Account config implementation
 - Refactoring in types, endpoint, etc for better consistency
 - Should compile ok with make but not running yet


git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4608 74dad513-b988-da41-8d7b-12977e46ad98
2013-10-01 09:41:01 +00:00
Sauw Ming d9ff64c45b Re #1630 (misc): Fixed the incorrect fix of r4605 above.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4607 74dad513-b988-da41-8d7b-12977e46ad98
2013-10-01 05:46:28 +00:00
Sauw Ming a179899278 Fixed #1674: Deadlock when third party media employs external lock and ICE is active
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4606 74dad513-b988-da41-8d7b-12977e46ad98
2013-10-01 05:00:57 +00:00
Sauw Ming 9f529bce16 Re #1630 (misc): Fixed circular reference dependency build
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4605 74dad513-b988-da41-8d7b-12977e46ad98
2013-10-01 04:59:42 +00:00
Sauw Ming 868a8cb29a Re #1516: Add feature to ignore certain compilation flags from the --use-ndk-cflags option.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4604 74dad513-b988-da41-8d7b-12977e46ad98
2013-09-30 05:12:29 +00:00
Nanang Izzuddin 72af1d7d29 Misc (re #1630): pjsua app param '--ip-addr' doesn't affect RTP address of local accounts.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4603 74dad513-b988-da41-8d7b-12977e46ad98
2013-09-26 09:57:34 +00:00
Nanang Izzuddin 1c3e8fbdf1 Fix #1700: Added PJ_ICE_CAND_TYPE_MAX to represent the number ICE candidate types.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4602 74dad513-b988-da41-8d7b-12977e46ad98
2013-09-25 04:57:26 +00:00
Nanang Izzuddin 435cff993b Misc (re #1630): Fixed compile warning of assigning var to itself.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4601 74dad513-b988-da41-8d7b-12977e46ad98
2013-09-25 04:20:01 +00:00
Benny Prijono 1818fc2bf1 More re #1519: fixed build errors and added svn ignore for output files in java and python dirs
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4600 74dad513-b988-da41-8d7b-12977e46ad98
2013-09-23 11:49:59 +00:00
Nanang Izzuddin 638c139ab5 Re #1516: Fixed configure-android in probing toolchain dir (reported that on ndk-r8, there is also 'gdbserver' dir under 'toolchains/arm/prebuilt').
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4599 74dad513-b988-da41-8d7b-12977e46ad98
2013-09-23 08:58:23 +00:00
Benny Prijono fe10dde1df More re #1519: fixed some build errors
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4598 74dad513-b988-da41-8d7b-12977e46ad98
2013-09-23 05:03:24 +00:00
Benny Prijono 5d96d69b6e Re #1519: initial implementation (incomplete) to demonstrate the API style/pattern
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4597 74dad513-b988-da41-8d7b-12977e46ad98
2013-09-23 03:37:56 +00:00
Benny Prijono d29aca91d8 Creating pjsua2 branch for the glorious new high level API with swig support amen
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4595 74dad513-b988-da41-8d7b-12977e46ad98
2013-09-16 08:19:57 +00:00
Sauw Ming ea0ec8ac3b Re #1516: Add support to build for other targets. Example:
TARGET_ABI=armeabi-v7a ./configure-android --use-ndk-cflags



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4594 74dad513-b988-da41-8d7b-12977e46ad98
2013-09-09 05:53:58 +00:00
Nanang Izzuddin 3e568d0678 Misc (re #1630): Fixed bug of missing max_br/mbps/fs settings in h264 default profile initialization.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4593 74dad513-b988-da41-8d7b-12977e46ad98
2013-09-09 05:22:47 +00:00
Nanang Izzuddin 98b734912b Fixed #1698: Follow account config in generating contact's secure scheme and deprecate PJSUA_SECURE_SCHEME.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4592 74dad513-b988-da41-8d7b-12977e46ad98
2013-09-06 10:04:39 +00:00
Sauw Ming d735668793 Re #1576: Add support for iPhone simulator target
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4591 74dad513-b988-da41-8d7b-12977e46ad98
2013-09-06 02:10:48 +00:00
Sauw Ming ecca2c2713 Re #1697: Add internal compile time option to disable the use of Audio Session API (deprecated)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4590 74dad513-b988-da41-8d7b-12977e46ad98
2013-09-05 04:16:19 +00:00
Riza Sulistyo 850f8872a3 Re #1643: Fix crash due to insufficient command buffer size in get_cmd_name()
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4589 74dad513-b988-da41-8d7b-12977e46ad98
2013-09-05 03:50:22 +00:00
Sauw Ming 973c64d9ed Closed #1576: Add support for clang compiler. Configure-iphone will now try to use clang as the default
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4588 74dad513-b988-da41-8d7b-12977e46ad98
2013-09-05 02:15:19 +00:00
Sauw Ming fe2ebe1f4f Re #1630 (misc): Fixed incorrect use of logical and
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4587 74dad513-b988-da41-8d7b-12977e46ad98
2013-09-05 02:14:05 +00:00
Sauw Ming a74a3fd626 Closed #1696: IP change detection (Contact rewrite method) based on REGISTER final response
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4586 74dad513-b988-da41-8d7b-12977e46ad98
2013-09-04 10:07:45 +00:00
Nanang Izzuddin 264ace7579 Fix #1695: use pj_ice_sess_send_data() only when state is RUNNING.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4585 74dad513-b988-da41-8d7b-12977e46ad98
2013-09-03 03:08:32 +00:00
Benny Prijono ead3aa062f Misc (re #1630): fixed link error when logging is completely disabled via PJ_LOG_MAX_LEVEL macro
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4584 74dad513-b988-da41-8d7b-12977e46ad98
2013-08-30 04:03:22 +00:00
Sauw Ming a450b75121 Re #817: Fix replying to re-INVITE after it was cancelled (thanks to Saúl Ibarra Corretgé for the patch)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4583 74dad513-b988-da41-8d7b-12977e46ad98
2013-08-21 09:32:24 +00:00
Nanang Izzuddin 9e2e5ad78a Misc (re #1630): Fixed bug of overlapping dst & src buffer for strcpy() in ice_session.c, reported to cause crash on iOS7.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4582 74dad513-b988-da41-8d7b-12977e46ad98
2013-08-12 11:28:33 +00:00
Benny Prijono 33ac738473 Fixed #1694: Python enhancement: added QoS and RTP settings in account config
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4581 74dad513-b988-da41-8d7b-12977e46ad98
2013-08-09 08:39:20 +00:00
Benny Prijono 49d40b98d9 Fixed #1693: Pay attention to reg_hdr_list and sub_hdr_list in pjsua_acc_modify(), and also fixed pjsua_acc_get_config()
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4580 74dad513-b988-da41-8d7b-12977e46ad98
2013-08-06 08:02:24 +00:00
Benny Prijono 472e1de8f8 Re #1669: fixed bug introduced by r4523 which caused pjsua_acc_modify() to always reregister regardless of whether there is change or not
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4579 74dad513-b988-da41-8d7b-12977e46ad98
2013-08-06 06:52:43 +00:00
Sauw Ming 615ffde2c2 Re #1630 (misc): Removed comment about GPL as the file is actually LGPL
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4578 74dad513-b988-da41-8d7b-12977e46ad98
2013-08-02 02:31:44 +00:00
Sauw Ming c552444061 Closed #1692: Allow multiple codecs in SDP answer
By default, the setting is disabled, to change it during run-time, use the function pjmedia_sdp_neg_set_allow_multiple_codecs().



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4577 74dad513-b988-da41-8d7b-12977e46ad98
2013-08-01 04:18:15 +00:00
Nanang Izzuddin ec90a69ac3 Fix #1691: Apply group lock mechanism in NAT detect to avoid deadlock.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4573 74dad513-b988-da41-8d7b-12977e46ad98
2013-07-24 08:06:59 +00:00
Nanang Izzuddin e65818e62f Misc (re #1630): Add randomizing interval for subscription refresh.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4572 74dad513-b988-da41-8d7b-12977e46ad98
2013-07-22 09:17:30 +00:00
Benny Prijono c8cf7ae493 Closed #1690: Assertion in timer in SIP transaction: Timer being rescheduled when already running
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4567 74dad513-b988-da41-8d7b-12977e46ad98
2013-07-19 06:31:28 +00:00