Commit Graph

434 Commits

Author SHA1 Message Date
Nanang Izzuddin 2d9f105d82 Close #1437: Video keyframe request/response using RTCP-FB PLI.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6106 74dad513-b988-da41-8d7b-12977e46ad98
2019-11-13 09:11:04 +00:00
Sauw Ming 4976aaa25e Re #2210 (misc): Clarify in the doc that on_stream_created()/destroyed() callback is for audio stream
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6097 74dad513-b988-da41-8d7b-12977e46ad98
2019-10-25 01:42:02 +00:00
Sauw Ming a0be35b381 Fixed #1778: Support for Voice Processing IO Audio Unit on Mac
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6094 74dad513-b988-da41-8d7b-12977e46ad98
2019-10-17 07:02:50 +00:00
Sauw Ming 3f58d4d10d Fixed #2209: Insufficient variable storage to contain Expires header field/ parameter
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6035 74dad513-b988-da41-8d7b-12977e46ad98
2019-07-01 07:12:43 +00:00
Sauw Ming 58593ba22c Fixed #2205: Use bound address for outgoing UDP SIP messages
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6015 74dad513-b988-da41-8d7b-12977e46ad98
2019-05-29 08:02:02 +00:00
Riza Sulistyo 765e804fda Close #1017: TURN TLS transport implementation.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6004 74dad513-b988-da41-8d7b-12977e46ad98
2019-05-24 03:32:17 +00:00
Sauw Ming ef5ac1253f Fixed #2107: Add option to use loopback media transport in pjsua
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5989 74dad513-b988-da41-8d7b-12977e46ad98
2019-05-15 00:09:57 +00:00
Sauw Ming b73c5a8350 Re #2187: Delay the creation of video capture until it is needed
Also in this commit: add PJSUA_LOCK() and UNLOCK() around access of pjsua_vid_win



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5962 74dad513-b988-da41-8d7b-12977e46ad98
2019-04-01 07:28:24 +00:00
Sauw Ming 881f21ea85 Fixed #2187: Avoid starting video capture if the setting vid_out_auto_transmit is false
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5961 74dad513-b988-da41-8d7b-12977e46ad98
2019-03-29 01:52:59 +00:00
Nanang Izzuddin f01387d5aa Misc (re #2147): Add info and checks about Extra Audio Device supporting mono channel only.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5956 74dad513-b988-da41-8d7b-12977e46ad98
2019-03-21 08:46:13 +00:00
Nanang Izzuddin eafc04d5bf Re #2181: Initial version of video conference implementation.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5939 74dad513-b988-da41-8d7b-12977e46ad98
2019-03-05 06:23:02 +00:00
Nanang Izzuddin 7fdb4bf16d Re #2168:
- Added a new PJSUA callback on_media_event().
 - Added audio device error handling into PJSUA2.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5923 74dad513-b988-da41-8d7b-12977e46ad98
2018-12-13 06:57:23 +00:00
Sauw Ming aef92670e1 Fixed #2165: Support video only call in pjsua
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5918 74dad513-b988-da41-8d7b-12977e46ad98
2018-12-04 02:16:47 +00:00
Riza Sulistyo cdbb718e10 Close #2162: If transport restart fail, don't proceed with updating contact on IP change process.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5911 74dad513-b988-da41-8d7b-12977e46ad98
2018-11-21 10:08:04 +00:00
Nanang Izzuddin 47eec2b367 Close #2158:
- Added OnCallTransferRequestParam.newCall to allow application to instantiate a new Call for the new outgoing call in transfer scenario.
 - Also added OnCallReplacedParam.newCall mainly for informational purpose (that app should instantiate new Call for replace scenario).



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5899 74dad513-b988-da41-8d7b-12977e46ad98
2018-10-17 04:38:39 +00:00
Sauw Ming 36784ecc34 Fixed #2155: Cleanup call setting flag before sending reinvite on IP change
This changeset also clears PJSUA_CALL_UNHOLD flag after calling pjsua_call_set_hold/hold2()



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5892 74dad513-b988-da41-8d7b-12977e46ad98
2018-09-26 05:58:47 +00:00
Sauw Ming 6d35e02662 Re #2100: Fixed duplication of crypto names and keys to use pj_strdup(). Otherwise, when the account/global config's input strings are modified (or deallocated) after being passed to PJSIP, then the crypto name matching will fail and we will generate error: PJMEDIA_SRTP_ENOTSUPCRYPTO
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5872 74dad513-b988-da41-8d7b-12977e46ad98
2018-09-03 07:13:40 +00:00
Sauw Ming 71392a7ddc Fixed #2133: Skip IPv4 STUN resolution if account is using NAT64
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5839 74dad513-b988-da41-8d7b-12977e46ad98
2018-07-25 23:56:39 +00:00
Riza Sulistyo 070dece2e9 Close #2036: Support DTMF via SIP INFO.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5834 74dad513-b988-da41-8d7b-12977e46ad98
2018-07-23 07:32:54 +00:00
Sauw Ming f5b93b5f5a Fixed #2128: Add feature to allow responding incoming INVITE/re-INVITE asynchronously and set the SDP answer
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5828 74dad513-b988-da41-8d7b-12977e46ad98
2018-07-20 02:19:41 +00:00
Nanang Izzuddin 8a883d4ffb Close #2126: Initial implementation of RTCP Feedback.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5820 74dad513-b988-da41-8d7b-12977e46ad98
2018-07-12 08:22:31 +00:00
Sauw Ming a7cea667a3 Closed #2113: Implement conference signal level adjustment for a specific connection
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5792 74dad513-b988-da41-8d7b-12977e46ad98
2018-05-15 08:23:44 +00:00
Sauw Ming ab6022bae3 Fixed #2087: Support for RTP and RTCP multiplexing
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5788 74dad513-b988-da41-8d7b-12977e46ad98
2018-05-09 06:58:48 +00:00
Nanang Izzuddin 922b4e2ed6 Close #2100:
- Added new APIs:
   * PJMEDIA: pjmedia_srtp_enum_crypto(), pjmedia_srtp_enum_keying()
   * PJSUA: pjsua_config.srtp_opt, pjsua_acc_config.srtp_opt, pjsua_srtp_opt_default()
   * PJSUA2: AccountMediaConfig::srtpOpt, Endpoint::srtpCryptoEnum()
 - Deprecated PJSUA callback on_create_media_transport_srtp() (not removed yet, just warnings).
 - Slightly refactored SRTP code:
   * Fixed potential issue with on_create_media_transport_srtp(), some PJSUA internal values in pjmedia_srtp_setting may be overridden by app.
   * Fixed few issues in SRTP and keying mechanism, e.g: premature local SDP modification (it should be done after verification).
   * Potential minor backward compatibility issue: default value of pjmedia_srtp_setting.crypto_count is now zero, previously it was initialized with all crypto via pjmedia_srtp_setting_default(), actually zero and all cryptos in this setting semantically are the same.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5755 74dad513-b988-da41-8d7b-12977e46ad98
2018-03-15 03:00:59 +00:00
Sauw Ming b8226493a8 Fixed #2098: Add SDP attribute SSRC and CNAME
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5748 74dad513-b988-da41-8d7b-12977e46ad98
2018-02-27 03:37:53 +00:00
Nanang Izzuddin dc991f5636 Close #2080: Added call flag PJSUA_CALL_UPDATE_TARGET for updating remote target, the new remote target can be specified in pjsua_msg_data.target_uri.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5721 74dad513-b988-da41-8d7b-12977e46ad98
2018-01-08 04:08:35 +00:00
Nanang Izzuddin 3a92ff29be Close #2077: New PJSUA & PJSUA2 APIs for instantiating extra audio device.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5717 74dad513-b988-da41-8d7b-12977e46ad98
2017-12-19 01:45:37 +00:00
Nanang Izzuddin fb12b9497c Fixed #2074: Introduced compile time setting PJSUA_SEPARATE_WORKER_FOR_TIMER to allow separate polling for timer events and network events.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5712 74dad513-b988-da41-8d7b-12977e46ad98
2017-12-12 07:44:09 +00:00
Sauw Ming 462a854a95 Fixed #2058: New PJSUA API to register a transport factory
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5686 74dad513-b988-da41-8d7b-12977e46ad98
2017-11-09 01:49:06 +00:00
Sauw Ming 0a1f0aa252 Fixed #2053: Update pjsua_get_snd_dev() info before calling on_snd_dev_operation() callback
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5677 74dad513-b988-da41-8d7b-12977e46ad98
2017-10-27 06:30:50 +00:00
Sauw Ming 7557f0ad24 Fixed #2052: Add option for pjsua callback on_stream_created to destroy application's supplied media port
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5676 74dad513-b988-da41-8d7b-12977e46ad98
2017-10-24 07:31:39 +00:00
Sauw Ming 70fc8cd0ca Re #2045 (misc): Add more doc to explain the specific SIP error codes and conditions which will trigger automatic registration retry upon failure.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5675 74dad513-b988-da41-8d7b-12977e46ad98
2017-10-19 04:09:49 +00:00
Riza Sulistyo fdce1c4b1a Re #2041: Implement API to handle IP address change.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5649 74dad513-b988-da41-8d7b-12977e46ad98
2017-09-15 05:32:08 +00:00
Sauw Ming e34fa7ed5e Fixed #2032: NAT64 support for IPv4 interoperability
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5636 74dad513-b988-da41-8d7b-12977e46ad98
2017-08-02 02:51:59 +00:00
Nanang Izzuddin edcedb569a Re #2018: Initial version of DTLS-SRTP implementation.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5597 74dad513-b988-da41-8d7b-12977e46ad98
2017-06-03 09:22:34 +00:00
Sauw Ming 8d6fe84d19 Re #1994 (misc): Use compile-time setting PJSIP_MAX_URL_SIZE for local and remote info's buffer size (instead of hard-coded).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5582 74dad513-b988-da41-8d7b-12977e46ad98
2017-04-13 03:50:51 +00:00
Sauw Ming 81fa6b4b20 Fixed #1983: Add option to update call Via address
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5493 74dad513-b988-da41-8d7b-12977e46ad98
2016-12-06 11:23:39 +00:00
Sauw Ming d22bc57174 Fixed #1982: Add option to reinitialize call media transports
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5490 74dad513-b988-da41-8d7b-12977e46ad98
2016-12-06 07:29:11 +00:00
Sauw Ming 9160ae5ad7 Fixed #1965: Add support to specify Contact params specific to REGISTER requests
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5455 74dad513-b988-da41-8d7b-12977e46ad98
2016-10-07 07:42:22 +00:00
Sauw Ming df6332306b Fixed #1962: Premature STUN socket destruction when there's an error during STUN server resolution
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5442 74dad513-b988-da41-8d7b-12977e46ad98
2016-10-04 09:10:11 +00:00
Sauw Ming fc7b89425a Fixed #1951: Add callback to configure SRTP setting and key in pjsua/pjsua2
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5417 74dad513-b988-da41-8d7b-12977e46ad98
2016-08-12 03:47:26 +00:00
Riza Sulistyo 968508c801 Re #1910: Implement option to regularly send video keyframe in the beginning of video call session.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5410 74dad513-b988-da41-8d7b-12977e46ad98
2016-08-05 07:26:18 +00:00
Nanang Izzuddin cb9d90b0ed Close #1926: Support IPv6 address resolution without DNS resolver.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5337 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-08 02:49:56 +00:00
Nanang Izzuddin 24727fd6c5 Re #1918:
- Fixed issue of cannot make/receive call after previous call initialization fails due to STUN error, reproducing steps:
   1. Configure an account with acc->cfg.media_stun_use set PJSUA_STUN_RETRY_ON_FAILURE.
   2. Start pjsua with STUN servers A and B configured. On startup, both STUN servers A and B are available, so PJSIP will use STUN server A
   3. Both STUN server A and B become unavailable
   4. Make an outgoing call.
   5. Pjsua first tries with STUN server A, fails
   6. Pjsua then retry with STUN server B, still fails
   7. PJSIP then aborts the call with error (which is desired!)
   8. Both STUN server A and B become available again
   9. User tries to dial or receive an incoming call, but cannot because the last STUN server status is stored and used in making/receiving call without retrying to resolve STUN server.
 - Fixed deadlock issues.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5326 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-31 04:28:00 +00:00
Riza Sulistyo 69cd9b1fd2 Re #1923: Delay call-hangup triggered from simulated onIncomingCall() to avoid assertion.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5323 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-27 02:55:12 +00:00
Riza Sulistyo 6fbf7ce59b Re #1918: Fixed continous looping when trying to resolve STUN server due to lock handling.
Also move the unusable server to the least prioritize to be chosen on the fallback process.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5307 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-19 04:30:05 +00:00
Sauw Ming 7d9c54d2b5 Fixed #1918: Add API to update STUN servers and option to retry STUN for media on failure
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5297 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-13 10:56:48 +00:00
Riza Sulistyo 791fad8914 Fixed #1914: onCreateMediaTransport() callback might not be called on PJSUA2.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5288 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-10 14:58:41 +00:00
Riza Sulistyo 4a4d95c8f4 Fixed #1914: Ignore STUN error after pjstun_get_mapped_addr2().
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5283 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-09 06:58:29 +00:00
Riza Sulistyo a39f16728d Re #1908: Implement new API to open speaker only in pjsua/pjsua2.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5273 74dad513-b988-da41-8d7b-12977e46ad98
2016-04-04 01:44:10 +00:00
Riza Sulistyo c58101bb69 Misc (Re #1882): Add compile time option (PJMEDIA_HAS_DTMF_FLASH) to enable/disable DTMF flash as specified in rfc2833.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5242 74dad513-b988-da41-8d7b-12977e46ad98
2016-02-18 03:15:19 +00:00
Nanang Izzuddin eac69a61c3 Misc (re #1882): Fixed bug STUN still being used in media transport UDP & ICE after STUN is disabled in account config (media_stun_use == PJSUA_STUN_USE_DISABLED).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5217 74dad513-b988-da41-8d7b-12977e46ad98
2015-12-24 12:25:58 +00:00
Nanang Izzuddin 04ecb0376e Close #1892: Add pjsua/pjsua2 callback on_call_tx_offer()/Call::onCallTxOffer() to notify incoming re-INVITE without offer.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5185 74dad513-b988-da41-8d7b-12977e46ad98
2015-10-02 02:08:17 +00:00
Sauw Ming 7a6113c3ec Fixed #1867: Add pjsua callback to notify when STUN resolution completes
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5131 74dad513-b988-da41-8d7b-12977e46ad98
2015-07-13 07:56:19 +00:00
Nanang Izzuddin ee124442e4 Re #1861: Fixed compile error of 'undeclared identifier PJMEDIA_VID_DEV_MAX_DEVS' when video is disabled.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5128 74dad513-b988-da41-8d7b-12977e46ad98
2015-07-07 04:13:14 +00:00
Sauw Ming 33bd0fd547 Re #1861: Changed pjsua API for setting the orientation using a more generic API, pjsua_vid_dev_set_setting() instead
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5125 74dad513-b988-da41-8d7b-12977e46ad98
2015-07-03 06:21:30 +00:00
Sauw Ming b02c2cebd6 Re #1861: Initial implementation of video orientation support
- Utility to resize and rotate video frame
- Support for iOS + sample
- pjsua API to set video device's orientation



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5118 74dad513-b988-da41-8d7b-12977e46ad98
2015-06-25 08:17:52 +00:00
Riza Sulistyo c6e9001cc7 Re #1825: Implement new on_reg_started2 callback
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4999 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-19 04:59:23 +00:00
Sauw Ming 0341f920b9 Re #1823 (PJSUA2 Video API): Add Pjsua2 Video Window API and Pjsua API to set output window
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4996 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-18 08:25:24 +00:00
Sauw Ming 90ef3ff840 Re #1786: Add support to specify output window as well for video preview param.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4995 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-17 09:59:42 +00:00
Sauw Ming 5c8c73b410 Fixed #1817: Automatically send BYE when sending CANCEL for INVITE is unsuccessful.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4986 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-02 09:43:20 +00:00
Nanang Izzuddin 68e6d49698 Close #1814: Add audio frame preview callbacks.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4982 74dad513-b988-da41-8d7b-12977e46ad98
2015-02-11 05:15:29 +00:00
Nanang Izzuddin e9268d219f Close #1802: Configurable randomized value range for auto re-registration interval.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4957 74dad513-b988-da41-8d7b-12977e46ad98
2014-11-04 08:00:15 +00:00
Nanang Izzuddin 17b5606964 Fix #1801:
- put error check in re-registration attempt in pjsua_acc_modify(),
 - updated pjsua_acc_modify() docs about its behavior regarding unregistration and re-registration.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4955 74dad513-b988-da41-8d7b-12977e46ad98
2014-10-27 07:36:08 +00:00
Sauw Ming 942dab3b10 Fixed #1797: Clean up provisional media after re-invite/update
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4948 74dad513-b988-da41-8d7b-12977e46ad98
2014-10-17 00:47:31 +00:00
Nanang Izzuddin e656e8fe86 Fixed #1796: Avoid infinite registration loop caused by contact rewrite.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4944 74dad513-b988-da41-8d7b-12977e46ad98
2014-10-10 10:33:23 +00:00
Nanang Izzuddin 89f6d46b2c Close #1793: Avoid call setting flags PJSUA_CALL_UNHOLD, PJSUA_CALL_UPDATE_CONTACT, and PJSUA_CALL_NO_SDP_OFFER to be sticky or reused in the next calls of pjsua_call_reinvite/update().
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4929 74dad513-b988-da41-8d7b-12977e46ad98
2014-09-24 08:26:33 +00:00
Sauw Ming c1a554e478 Fixed #1786: Add support to specify video format when opening video preview
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4921 74dad513-b988-da41-8d7b-12977e46ad98
2014-09-15 08:59:46 +00:00
Sauw Ming fbe4d76141 Fixed #1785: Add support for sending initial INVITE/re-INVITE/UPDATE without SDP
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4920 74dad513-b988-da41-8d7b-12977e46ad98
2014-09-09 08:31:37 +00:00
Benny Prijono 0ffb73d67c More re #1677:
- renamed the option to contact_use_src_port
 - added the missing pjsua2 API implementation


git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4889 74dad513-b988-da41-8d7b-12977e46ad98
2014-08-18 09:09:18 +00:00
Benny Prijono d2db5cca55 Closed #1677: Contact uses source port in initial registration.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4888 74dad513-b988-da41-8d7b-12977e46ad98
2014-08-18 08:54:43 +00:00
Nanang Izzuddin 567554b620 Close #1779: Add APIs for external/native thread registration to pjsua2: Endpoint::libRegisterThread() & Endpoint::libIsThreadRegistered().
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4887 74dad513-b988-da41-8d7b-12977e46ad98
2014-08-13 09:14:53 +00:00
Riza Sulistyo caef1f2398 Re #1771: Implement run-time configuration to set specific socket option.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4860 74dad513-b988-da41-8d7b-12977e46ad98
2014-06-19 05:07:12 +00:00
Benny Prijono 6c02e39e89 Closed #1748: enhancements to WAV player API
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4793 74dad513-b988-da41-8d7b-12977e46ad98
2014-03-14 04:09:50 +00:00
Benny Prijono 92796d9e27 Fixed #1738: Infinite loop when re-INVITE is received while adding new media
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4750 74dad513-b988-da41-8d7b-12977e46ad98
2014-02-19 04:11:43 +00:00
Riza Sulistyo 7a019dab29 Re #1734: Add flash support for DTMF rfc 2833.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4739 74dad513-b988-da41-8d7b-12977e46ad98
2014-02-11 04:46:49 +00:00
Nanang Izzuddin 3537c545df Misc (re #1630): Fixed some more typos in the codes.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4724 74dad513-b988-da41-8d7b-12977e46ad98
2014-01-31 08:52:09 +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
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 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
Benny Prijono f673a6ef92 Re #1519: Major change in pjsua2.i and etc after actual test in Python:
- Major changes in SWIG interface file (pjsua2.i). 
    - The "ignore" and "unignore" approach caused link error with vector (duplicate symbols because SWIG generates two identical vector functions in the wrapper) so it cannot be used (tried with many combinations and still doesn't work).
    - So scrap that, and now we use "importing" approach, where needed symbols must be listed in symbols.lst file, then use importsym.py to import the symbol declarations to symbols.i. Then include symbols.i in pjsua.i
    - Due to the way importsym.py work, some macros and naked constants need to be placed into a named enumeration, for example:
       - #define PJ_SUCCESS 0  ==> enum pj_constants_ { PJ_SUCCESS=0 }; [types.h]
       - enum { PJMEDIA_VID_DEFAULT_CAPTURE_DEV = -1 } ==> enum pjmedia_vid_dev_std_index { PJMEDIA_VID_DEFAULT_CAPTURE_DEV = -1 }; [videodev.h]
    - Makefile was changed so that symbols.i would be generated if symbols.lst has changed
 - Added "make install" and "make uninstall" targets for swig. Only implemented on Python. This will install to user's lib dir so doesn't need sudo.
 - Deleted approachX.hpp files
 - Added libVersion() method to Endpoint along with Version struct.
 - Fix pjsua2.i to make exception (or redirection?) works in Python
 - Add polling and worker thread related API:
    - PJSUA-LIB: pjsua_register_worker_thread(), pjsua_stop_worker_threads()
    - Endpoint: libRegisterWorkerThread(), libStopWorkerThreads(), libHandleEvents();



git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4639 74dad513-b988-da41-8d7b-12977e46ad98
2013-11-01 07:11:48 +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 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
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
Sauw Ming 77dadeffa3 Closed #1688: Add support for different To and Target URI in outgoing call and sending IM
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4555 74dad513-b988-da41-8d7b-12977e46ad98
2013-07-10 04:27:05 +00:00
Benny Prijono 176f2678f9 Closed #1668: Option to use the IP address found in REGISTER response in the SDP
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4543 74dad513-b988-da41-8d7b-12977e46ad98
2013-06-24 09:53:16 +00:00
Sauw Ming fd8d5ddf66 Re #1682: Use account specific variable to keep track of the next rtp port to use.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4542 74dad513-b988-da41-8d7b-12977e46ad98
2013-06-21 07:47:41 +00:00
Nanang Izzuddin 5c4b102f97 Close #1675: Added callback to allow application to specify account to handle incoming message.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4534 74dad513-b988-da41-8d7b-12977e46ad98
2013-06-13 08:56:51 +00:00
Nanang Izzuddin 777e12a15e Fixed #1670:
- Added 'no_rtcp_sdes_bye' to 'pjsua_media_config'.
 - Modified behaviour of video stream in PJSUA to match audio stream behaviour, i.e: always send RTCP SDES when stream starts/stops and send RTCP BYE when stream stops, regardless whether 'no_rtcp_sdes_bye' is set.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4524 74dad513-b988-da41-8d7b-12977e46ad98
2013-05-24 04:27:59 +00:00
Nanang Izzuddin 7e5ee37ea5 Misc (re #1630): Added doxygen describing the persistency of message data (custom/additional headers, etc) in pjsua_call_answer().
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4463 74dad513-b988-da41-8d7b-12977e46ad98
2013-04-10 05:57:46 +00:00
Sauw Ming dd44fb1ba1 Fixed #1629: Add pjsua_call_set_hold2() API to allow update of Contact header
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4421 74dad513-b988-da41-8d7b-12977e46ad98
2013-03-06 05:55:09 +00:00
Nanang Izzuddin 0c662eadf7 Close #1614: Added call redirect option PJSIP_REDIRECT_ACCEPT_REPLACE to accept call redirection with replaced 'To' header.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4347 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-13 10:19:25 +00:00
Nanang Izzuddin a2174066e7 Close #1602: configurable local port range for ICE transport.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4343 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-07 09:35:34 +00:00
Nanang Izzuddin c6c69db96e Close #1242: Single re-INVITE/UPDATE for both lock codec and ICE negotiation updates.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4342 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-06 13:48:45 +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
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
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
Nanang Izzuddin f0aabd3362 Close #1568:
- Added media change detection based on SDP negotiation result and local codec param settings, the detection result will decide whether the media should be re-initialized after the SDP negotiation.
 - Fixed stream to keep the duplicate of codec param for the stream info (was only copying the pointer).
 - Introduced macro PJSUA_THIRD_PARTY_STREAM_HAS_GET_INFO & PJSUA_THIRD_PARTY_STREAM_HAS_GET_STAT.




git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4254 74dad513-b988-da41-8d7b-12977e46ad98
2012-09-14 04:06:29 +00:00
Nanang Izzuddin 9ca1c8cdbe Re #1562: Added compile-time setting to enable/disable "c=" line in SDP session level. The default is disabled.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4225 74dad513-b988-da41-8d7b-12977e46ad98
2012-08-09 09:16:31 +00:00
Nanang Izzuddin b2b5f167fb Close #1567: Added option to use STUN2 format for resolving mapped address in pjsua_config.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4224 74dad513-b988-da41-8d7b-12977e46ad98
2012-08-09 05:21:25 +00:00