Commit Graph

3772 Commits

Author SHA1 Message Date
Nanang Izzuddin bf7b3a14b4 Fix #1603: reinit UDP socket of DNS resolver when sendto() returning EPIPE.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4317 74dad513-b988-da41-8d7b-12977e46ad98
2013-01-15 14:21:07 +00:00
Benny Prijono d7636bd4ab Re #1570: Update BB10 audio driver to the latest changes in SDK:
1. Disable MMAP on play and record
 2. Use type VIDEO_CHAT as opposed to VOICE (recommended by RIM audio team)
 3. Free up audio_manager handles properly (RIM audio team code review)
 4. Set the play to headset because VIDEO_CHAT defaults to speaker (recommended RIM audio team)
 5. Removed the conditional compile for the old SDK version as nothing that’s not built with the current SDK will run on BB10

Thank you Bob Cripps for the patch!


git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4316 74dad513-b988-da41-8d7b-12977e46ad98
2013-01-14 10:08:20 +00:00
Nanang Izzuddin 0fdbd978d8 Fix #1605: always re-init media channel for SDP re-offer/answer generation.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4315 74dad513-b988-da41-8d7b-12977e46ad98
2013-01-11 08:53:52 +00:00
Nanang Izzuddin 12c4fdce15 Fix #1604: crash caused by double destructions in ICE stream transport.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4314 74dad513-b988-da41-8d7b-12977e46ad98
2013-01-11 04:10:08 +00:00
Sauw Ming 966a1381ff Fixed #1601: Add locking mechanism when ICE transport is in negotiation state
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4313 74dad513-b988-da41-8d7b-12977e46ad98
2013-01-04 07:37:27 +00:00
Sauw Ming 9db6658d54 Re #1559: Fixed registration timeout setting used by ipjsua to take effect immediately.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4312 74dad513-b988-da41-8d7b-12977e46ad98
2013-01-03 09:26:29 +00:00
Nanang Izzuddin 19f08d6852 Misc (re #1562): Update ffmpeg version check regarding 'AVCodec::encode' removal (see also r4277).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4311 74dad513-b988-da41-8d7b-12977e46ad98
2012-12-20 06:45:09 +00:00
Nanang Izzuddin 4a298d5775 Fix #1600: V4L2 capture device always re-enqueues buffer with index zero.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4310 74dad513-b988-da41-8d7b-12977e46ad98
2012-12-19 05:38:28 +00:00
Sauw Ming 3c89a2529a Fixed #1599: Fixed bug that caused new contact not being used in UPDATE/re-INVITE
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4309 74dad513-b988-da41-8d7b-12977e46ad98
2012-12-14 07:49:38 +00:00
Sauw Ming 6abce2c0b8 Re #1559: Fix dependencies when running parallel make (thanks Shaun Ruffell for the patch)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4308 74dad513-b988-da41-8d7b-12977e46ad98
2012-12-13 06:37:05 +00:00
Sauw Ming f78362b7ff Re #1595: Restrict the fix in r4300 so it only applies to outgoing call
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4307 74dad513-b988-da41-8d7b-12977e46ad98
2012-12-13 03:46:12 +00:00
Sauw Ming 8a3ce34f53 Fixed #1598: Assertion when sip error code is not set (thanks Peter Koletzki for the report)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4306 74dad513-b988-da41-8d7b-12977e46ad98
2012-12-12 06:20:28 +00:00
Benny Prijono 3a05a85db7 Misc (re #1562): Add a protection in med_tp_timer_cb() against call that may have been terminated before ICE callback is called. It has been reported that this has caused a crash, but we cannot reproduce it. Thanks Karina for the report.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4305 74dad513-b988-da41-8d7b-12977e46ad98
2012-12-05 10:40:56 +00:00
Benny Prijono 6ad9a6ed1f Fixed #1597: Handle socket failure in STUN resolution when coming back from iPhone/iOS background mode
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4304 74dad513-b988-da41-8d7b-12977e46ad98
2012-12-05 09:48:44 +00:00
Sauw Ming 8f07b96056 Fixes #1596: Fix handling of incoming UPDATE request
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4301 74dad513-b988-da41-8d7b-12977e46ad98
2012-11-26 02:54:17 +00:00
Sauw Ming 0979e8dba3 Fixes #1595: Allow call hangup immediately after outgoing call
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4300 74dad513-b988-da41-8d7b-12977e46ad98
2012-11-26 02:04:17 +00:00
Nanang Izzuddin ecd48f6446 Fix #1593: avoid wrap around in caching pool capacity value.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4298 74dad513-b988-da41-8d7b-12977e46ad98
2012-11-22 05:00:01 +00:00
Benny Prijono 79eddc4cdd Re #1562: PJSUA-LIB shutdown operation may block for a long time if system time is modified while the shutdown is in progress. Also fixed similar issue in STUN client.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4297 74dad513-b988-da41-8d7b-12977e46ad98
2012-11-13 08:46:42 +00:00
Nanang Izzuddin 6e2e0f2042 Re #1556: Fixed hash key case insensitive comparison. This is reported to cause CANCEL request will be responded with 481 (Transaction does not exist) when the Via branch is not started with magic cookie (old SIP RFC), thanks Marcus Froeschl for the report.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4296 74dad513-b988-da41-8d7b-12977e46ad98
2012-11-07 04:56:26 +00:00
Nanang Izzuddin 4aa539e224 Re #1590: Fixed pjsip_rx_data_clone() when there are multiple instances of a single header type (thanks Mike Evans for the report and the fix).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4295 74dad513-b988-da41-8d7b-12977e46ad98
2012-11-06 05:22:11 +00:00
Nanang Izzuddin c93d4fe56a Misc (re #1562): Fixed Symbian build errors on S60 5th edition SDK.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4294 74dad513-b988-da41-8d7b-12977e46ad98
2012-11-06 05:02:10 +00:00
Sauw Ming 647045aa4b Re #1586: Fixed useInBandFEC setting and default value setting in pjmedia_codec_silk_set_config()
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4293 74dad513-b988-da41-8d7b-12977e46ad98
2012-11-03 03:32:09 +00:00
Nanang Izzuddin d9a37eda25 Re #1590: Fixed compile error 'invalid conversion from `pj_list_type*' to `pjsip_module*' on Symbian (thanks Rubel for the report).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4291 74dad513-b988-da41-8d7b-12977e46ad98
2012-11-01 03:45:40 +00:00
Sauw Ming 443a16a35c Re #1562 (misc): Fixed uninitialized frame for conversion in video port
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4290 74dad513-b988-da41-8d7b-12977e46ad98
2012-11-01 03:06:33 +00:00
Benny Prijono eed4223f7c Misc (re #1559): Require name-addr to have the quote if display name is given. Previously an URI like this will be accepted: "301 301" sip:301@host
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4288 74dad513-b988-da41-8d7b-12977e46ad98
2012-10-26 09:30:37 +00:00
Nanang Izzuddin 36bdd9cf13 Re #1569: Fixed missing default value setting for pjsip_cfg()->allow_tx_hash_in_uri.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4285 74dad513-b988-da41-8d7b-12977e46ad98
2012-10-19 04:23:57 +00:00
Sauw Ming 10584d27d4 Re #1559: Fixed potential buffer overflow when duplicating the string
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4283 74dad513-b988-da41-8d7b-12977e46ad98
2012-10-12 06:19:32 +00:00
Nanang Izzuddin d4abcc085f Re #1589: Removed "--disable-floating-point" from "configure-iphone".
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4282 74dad513-b988-da41-8d7b-12977e46ad98
2012-10-08 09:05:45 +00:00
Sauw Ming b6c3f36e97 Fixed #1592: Multithreading issues in PJSIP (fixing pj_timer_heap_poll() and lock order inversion in tcp/tls transport)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4281 74dad513-b988-da41-8d7b-12977e46ad98
2012-10-08 08:13:12 +00:00
Sauw Ming 87d7051e73 Fixed #1591: Fixed dialog locking in acquire_call() when media transport is created asynchronously.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4280 74dad513-b988-da41-8d7b-12977e46ad98
2012-10-08 05:23:34 +00:00
Sauw Ming 460971fc7d Re #1562: Fixed default custom media transport creation callback flag. By default, custom media transport should close its member transport.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4279 74dad513-b988-da41-8d7b-12977e46ad98
2012-10-08 02:55:22 +00:00
Sauw Ming f500a55751 Re #1586: Add support for SILK multiple frames per packet
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4278 74dad513-b988-da41-8d7b-12977e46ad98
2012-10-05 10:04:54 +00:00
Nanang Izzuddin 9756efd816 Misc (re #1562): Fixed ffmpeg codec wrapper compile error of undefined 'AVCodec::encode' (removed in the recent ffmpeg version).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4277 74dad513-b988-da41-8d7b-12977e46ad98
2012-10-04 07:55:41 +00:00
Nanang Izzuddin aa6742707e Misc (re #1562): pkgconfig removed duplicated framework name from Libs without removing the '-framework' option itself, which caused link error.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4276 74dad513-b988-da41-8d7b-12977e46ad98
2012-10-04 07:36:39 +00:00
Benny Prijono 6c80455c1e Close #1590: APIs to facilitate pending processing of pjsip_rx_data
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4275 74dad513-b988-da41-8d7b-12977e46ad98
2012-10-04 06:11:58 +00:00
Benny Prijono 02eced275e Close #1589: Enable floating point by default for iOS target
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4274 74dad513-b988-da41-8d7b-12977e46ad98
2012-10-02 04:00:19 +00:00
Benny Prijono eb98937948 Fixed #1588: State PJSIP_INV_STATE_NULL is called after call has been disconnected
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4273 74dad513-b988-da41-8d7b-12977e46ad98
2012-10-02 02:47:08 +00:00
Sauw Ming 65f24036c5 Re #1586: Implement SILK config setting and fixed decoding fmtp
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4272 74dad513-b988-da41-8d7b-12977e46ad98
2012-10-01 11:11:37 +00:00
Sauw Ming ec02c0850b Re #1586: Removed configure warning when using --with-silk option
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4271 74dad513-b988-da41-8d7b-12977e46ad98
2012-10-01 11:08:08 +00:00
Benny Prijono 3ee340a3a9 More re #1586: added PJMEDIA_HAS_SILK_CODEC to config_auto.h.in
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4270 74dad513-b988-da41-8d7b-12977e46ad98
2012-10-01 10:18:58 +00:00
Nanang Izzuddin 0bcd10fde9 Re #1587: Respond to call replace request with the last provisional response sent in the replaced call.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4269 74dad513-b988-da41-8d7b-12977e46ad98
2012-09-28 10:07:22 +00:00
Nanang Izzuddin 3f74e4bdbf Re #1587:
- Don't answer call replace request with 200 if the replaced call hasn't reach confirmed state and has UAS role.
 - Only apply accept_replace_in_early_state when call is in early state.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4268 74dad513-b988-da41-8d7b-12977e46ad98
2012-09-28 08:56:08 +00:00
Nanang Izzuddin 32709d58d1 Close #1587: Added settings to accept call replace when in early state and as UAS: accept_replace_in_early_state in pjsip_cfg_t and PJSIP_ACCEPT_REPLACE_IN_EARLY_STATE macro.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4267 74dad513-b988-da41-8d7b-12977e46ad98
2012-09-28 06:17:11 +00:00
Nanang Izzuddin a4ac2281d2 Misc (re #1559): Consistent use of SAMPLES_PER_FRAME in G711.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4266 74dad513-b988-da41-8d7b-12977e46ad98
2012-09-26 05:55:18 +00:00
Sauw Ming 03df4246da Re #1568: Add build config for SILK
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4265 74dad513-b988-da41-8d7b-12977e46ad98
2012-09-25 02:23:06 +00:00
Nanang Izzuddin e14008ea70 Re #1586: Initial version of SILK wrapper.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4264 74dad513-b988-da41-8d7b-12977e46ad98
2012-09-24 06:58:16 +00:00
Benny Prijono 3d6980ab6b Fixed #1582: Transmit the last DTMF packet (containing the E bit) three times
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4263 74dad513-b988-da41-8d7b-12977e46ad98
2012-09-20 11:26:16 +00:00
Benny Prijono e135917e37 Fixed #1585: IPv6 support for SIP TCP and TLS transports and PJSUA-LIB v2
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4262 74dad513-b988-da41-8d7b-12977e46ad98
2012-09-20 06:00:23 +00:00
Sauw Ming 28bd76b7ac Re #1583: Removed testing scenario accidentally left in the code
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4260 74dad513-b988-da41-8d7b-12977e46ad98
2012-09-18 09:38:44 +00:00
Sauw Ming 065d554b99 Re #1583: Fixed error propagation that caused the disconnection of the transport
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4259 74dad513-b988-da41-8d7b-12977e46ad98
2012-09-18 09:35:54 +00:00