Commit Graph

1352 Commits

Author SHA1 Message Date
Benny Prijono 350e07cb1d Re #1697: fixed build error with the new coreaudio_dev.m introduced by r4617, because build process looks for an ObjC compiler
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4635 74dad513-b988-da41-8d7b-12977e46ad98
2013-10-24 06:27:14 +00:00
Sauw Ming fdd63c3b60 Fixed #1707: Add support for paralel build
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4632 74dad513-b988-da41-8d7b-12977e46ad98
2013-10-23 06:39:47 +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
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
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 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
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
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
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
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
Sauw Ming b833d2a24f Re #817: Initial work for allowing application to respond to re-INVITE manually.
Patches integrated in this fix (with some modifications for adjustment to the current trunk):
 - sip_inv-on_rx_reinvite.patch
 
 Move the place where to call the callback so the callback will still be called when the re-invite contains no SDP
 - sdp_neg_cancel_remote_offer
 
 pjmedia_sdp_neg_cancel_remote_offer() is no longer necessary since pjmedia_sdp_neg_cancel_offer() can already handle that. Only integrate the chart for sdp negotiation doc.
 - sip_inv-terminate-reinvite-tsx-on-cancel
 - sip_inv-cancel_sdp_neg_on_sending_negative_reply_to_reinvite
 - pjsip-allow_cancel_reinvite



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4562 74dad513-b988-da41-8d7b-12977e46ad98
2013-07-15 04:23:31 +00:00
Sauw Ming f21b037384 Closed #1687: Allow media type change during SDP negotiation
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4554 74dad513-b988-da41-8d7b-12977e46ad98
2013-07-09 07:17:39 +00:00
Nanang Izzuddin 69498fb477 Close #1681:
- Added compile-time settings PJMEDIA_TRANSPORT_SO_RCVBUF_SIZE and PJMEDIA_TRANSPORT_SO_SNDBUF_SIZE. The default values are both 64 KB when PJMEDIA_HAS_VIDEO is set, otherwise just zero (socket buffer size uses OS default). The settings will be applied to media transport UDP and ICE.
 - Also added run-time settings so_sndbuf_size and so_rcvbuf_size into ICE stream transport, STUN socket, and TURN socket. Default values are all zero.




git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4538 74dad513-b988-da41-8d7b-12977e46ad98
2013-06-19 09:06:55 +00:00
Riza Sulistyo 25b575b336 Re #1680: Add initial support for Win64
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4537 74dad513-b988-da41-8d7b-12977e46ad98
2013-06-19 06:47:43 +00:00
Sauw Ming fd3e9ebae2 Closed #1678: Proper error handling in WAV writer
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4536 74dad513-b988-da41-8d7b-12977e46ad98
2013-06-18 04:08:08 +00:00
Nanang Izzuddin c6775cc6c7 Fixed #1676: fixed assertion when SDL initialization fails on library startup.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4535 74dad513-b988-da41-8d7b-12977e46ad98
2013-06-13 09:36:49 +00:00
Sauw Ming 9559aba831 Re #1630 (misc): Fixed typo and missing include in coreaudio dev
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4527 74dad513-b988-da41-8d7b-12977e46ad98
2013-05-29 03:53:15 +00:00
Benny Prijono aeb4ab91bf Misc re #1630: added more error logging to SDL, to print SDL error message when an operation fails
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4520 74dad513-b988-da41-8d7b-12977e46ad98
2013-05-16 11:32:07 +00:00
Benny Prijono 175fc31319 Misc re #1630: link error on iOS build if LDFLAGS contains -ObjC and PJMEDIA_HAS_VIDEO is disabled
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4519 74dad513-b988-da41-8d7b-12977e46ad98
2013-05-16 10:24:34 +00:00
Benny Prijono e700ec5c3b Re #1656: change back frags_max to 3 from -1
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4512 74dad513-b988-da41-8d7b-12977e46ad98
2013-04-30 09:00:36 +00:00
Benny Prijono fbf27c90d7 Re #1656: put back PLUGIN_ROUTING as per the latest suggestion
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4503 74dad513-b988-da41-8d7b-12977e46ad98
2013-04-25 10:07:11 +00:00
Benny Prijono cb5eded640 Re #1656: fixes to audio routing from latest suggestions
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4502 74dad513-b988-da41-8d7b-12977e46ad98
2013-04-25 08:09:42 +00:00
Riza Sulistyo 6cb9eb7bb5 Re #1636: change include directive to relative path to simplify build config
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4501 74dad513-b988-da41-8d7b-12977e46ad98
2013-04-25 04:59:25 +00:00
Benny Prijono 09484ef535 Fixed #1659: SDP offer version number is not incremented if previous re-INVITE offer was rejected
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4498 74dad513-b988-da41-8d7b-12977e46ad98
2013-04-24 09:52:25 +00:00
Benny Prijono ffaf7e5f28 Re #1656: fixes incorporated from latest email feedback
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4495 74dad513-b988-da41-8d7b-12977e46ad98
2013-04-24 01:17:40 +00:00
Benny Prijono 7d5141cf95 Re #1656: integration of Gurtej's patch (email re: PJSIP BB10 Performance and sound dev fixes)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4490 74dad513-b988-da41-8d7b-12977e46ad98
2013-04-23 07:56:12 +00:00
Benny Prijono a43835d276 Re #1630: fixed various warnings
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4487 74dad513-b988-da41-8d7b-12977e46ad98
2013-04-23 05:37:41 +00:00
Benny Prijono 0edf708754 Misc (re #1630): set default frames per packet for AMR codec to 1 (from 2) because it yields lower and more consistent CPU utilization on BB10
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4481 74dad513-b988-da41-8d7b-12977e46ad98
2013-04-19 09:00:55 +00:00
Benny Prijono 7e99804376 Re #1656: BB10 sound device fixes:
- fixed hardcoded clock rate etc.
 - handle audio routing setting when opening via param


git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4480 74dad513-b988-da41-8d7b-12977e46ad98
2013-04-19 08:57:44 +00:00
Benny Prijono fb59333b03 Re #1656: fixed bug from c4467
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4475 74dad513-b988-da41-8d7b-12977e46ad98
2013-04-16 09:41:16 +00:00
Sauw Ming 3f922fc08e Fixed #1658: Stop media endpoint's worker threads first when destroying media subsystem
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4474 74dad513-b988-da41-8d7b-12977e46ad98
2013-04-16 09:12:59 +00:00
Benny Prijono c9f4b56e85 Re #1630: fixed missing parenthesis in disabled block
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4470 74dad513-b988-da41-8d7b-12977e46ad98
2013-04-15 10:40:26 +00:00
Benny Prijono 9ea1bcd1a9 Re #1656: add hardware echo cancellation capability to BB10 audio device
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4467 74dad513-b988-da41-8d7b-12977e46ad98
2013-04-15 10:26:58 +00:00
Nanang Izzuddin 06a3c50e57 Misc (re #1630): Added compile-time setting to configure audio switchboard buffer size.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4443 74dad513-b988-da41-8d7b-12977e46ad98
2013-03-20 06:56:19 +00:00
Nanang Izzuddin ed05649d8d Re #1639: merged android branch into trunk (except sample apps, i.e: apjsua & apjloader)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4435 74dad513-b988-da41-8d7b-12977e46ad98
2013-03-11 06:32:58 +00:00
Riza Sulistyo 7892a637e0 Re #1636: add initial support for bdIMAD
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4432 74dad513-b988-da41-8d7b-12977e46ad98
2013-03-08 08:02:48 +00:00
Sauw Ming 91b3146546 Re #1631: Fixed typo in null_port (thanks to Tomas Valenta for the report)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4423 74dad513-b988-da41-8d7b-12977e46ad98
2013-03-06 06:06:17 +00:00
Riza Sulistyo 4741b802e6 Misc (re #1559): add macro PJMEDIA_SDL_LIB to manually specify SDL library name on MSVC
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4414 74dad513-b988-da41-8d7b-12977e46ad98
2013-03-05 08:21:02 +00:00
Riza Sulistyo 152b642843 Misc (re #1559): fixed compile errors/warnings on MSVC
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4412 74dad513-b988-da41-8d7b-12977e46ad98
2013-03-05 03:12:32 +00:00
Nanang Izzuddin 414d34ca74 Misc (re #1559): fixed compile errors/warnings on Symbian platform.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4411 74dad513-b988-da41-8d7b-12977e46ad98
2013-03-04 04:34:38 +00:00
Benny Prijono 2508587130 Misc re #1562: disable trace in the jitter buffer
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4369 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-21 21:55:54 +00:00
Nanang Izzuddin 1d66832a6a Close #1625: Introduced new API pjmedia_sdp_validate2() for allowing SDP media without c= line when port is zero, currently it is only applied in validating remote SDP.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4367 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-21 20:49:19 +00:00
Sauw Ming bbc140f76a Sipit30 misc (re #1559): Increased maximum key length for SRTP crypto key
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4366 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-21 20:41:31 +00:00
Nanang Izzuddin 3b06333cc5 Sipit30 misc (re #1559): Updated log for SRTP key to use base64 as in the SDP (easier in tracing which key for which stream)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4364 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-21 17:01:28 +00:00
Nanang Izzuddin 837437fb50 Re #1622: fixed bad default aspect ratio.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4362 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-21 14:51:56 +00:00
Nanang Izzuddin d062f131f3 Close #1622: Apply H264 SDP fmtp parameters: max-fs, max-mbps, max-br.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4361 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-21 14:48:53 +00:00
Nanang Izzuddin f53a34ecd8 Re #1242: Fixed ICE nego completion check as it always returns FALSE when peer doesn't support ICE.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4350 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-15 03:57:31 +00:00
Sauw Ming ad85d33f19 Re #1608: Fixed array size calculation of amr bitrates array.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4348 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-14 02:00:13 +00:00