Commit Graph

2635 Commits

Author SHA1 Message Date
Benny Prijono ba23a3621a Ticket #924: Loop media transport now allows more than one streams to receive the reflected packets
- This ticket allows the same loop media transport instance to be attached to more than one streams, and allow application to control which stream(s) receives the reflected packets. 



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2845 74dad513-b988-da41-8d7b-12977e46ad98
2009-07-29 12:19:25 +00:00
Benny Prijono 4d8846bc96 Ticket #923: New API to retrieve current jitter buffer state from a stream/session
- added pjmedia_session_get_stream_stat_jbuf() and pjmedia_session_get_stream_stat_jbuf()
 - fixed const correctness in pjmedia_jbuf_get_state(), jb_framelist_size(), and pj_math_stat_get_stddev(), 
 - modify the jitter buffer statistic log message printed by stream (it contains newlines)



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2844 74dad513-b988-da41-8d7b-12977e46ad98
2009-07-29 12:14:21 +00:00
Benny Prijono be6d5db124 Ticket #922: Option to enable mutex related logging to assist troubleshooting concurrency problems
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2843 74dad513-b988-da41-8d7b-12977e46ad98
2009-07-22 11:12:35 +00:00
Benny Prijono f940be43f2 Ticket #921: New logging option/flag to include caller thread ID
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2842 74dad513-b988-da41-8d7b-12977e46ad98
2009-07-21 12:20:17 +00:00
Benny Prijono cdf2c9c441 Misc (#915): added WAVE_FORMAT_DIRECT flag when opening waveIn/Out in WMME audio dev, hopefully it can reduce latency
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2841 74dad513-b988-da41-8d7b-12977e46ad98
2009-07-18 09:21:09 +00:00
Benny Prijono dbf4cb963f More ticket #920: fixed wrong latency calculation when there is loud noise in the start of recording
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2840 74dad513-b988-da41-8d7b-12977e46ad98
2009-07-18 09:18:26 +00:00
Benny Prijono 258dc213b2 More ticket #720: added Win32 target in VS2005 project
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2839 74dad513-b988-da41-8d7b-12977e46ad98
2009-07-17 11:37:42 +00:00
Benny Prijono 5a8663af07 More ticket #920: fixed VS directory output for WM6 Pro
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2838 74dad513-b988-da41-8d7b-12977e46ad98
2009-07-16 18:53:39 +00:00
Benny Prijono e25fe6f844 Sound device is not automatically started after pjsua_set_no_snd_dev() is called, even after pjsua_set_snd_dev() is called
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2837 74dad513-b988-da41-8d7b-12977e46ad98
2009-07-16 17:52:08 +00:00
Benny Prijono ff64ccfa2f More ticket #920: fix latency calculation not able to calculate latency higher than 500ms and added copyright info in source files
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2836 74dad513-b988-da41-8d7b-12977e46ad98
2009-07-16 11:37:15 +00:00
Benny Prijono 7b40c6c166 Ticket #920: New pjsystest application for testing target system/device. Initial work on Win32 and WM
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2835 74dad513-b988-da41-8d7b-12977e46ad98
2009-07-16 10:36:48 +00:00
Nanang Izzuddin 873f3e4de6 Ticket #919:
- Added default ilbc mode into codec passthrough setting.
 - Added iLBC mode 'negotiation' in iLBC codec_open().
 - Updated stream_create() to prioritize codec_open(), that may update the codec params, over stream initializations involving codec params.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2834 74dad513-b988-da41-8d7b-12977e46ad98
2009-07-15 17:55:16 +00:00
Nanang Izzuddin fc279de2ab Ticket #909:
- Added support for Nokia VAS 2.0.
 - Fixed wrong value assigned to last downstream state var in downstream callback.
 - Minor fix in config_site_sample.h related to VAS Direct setting.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2833 74dad513-b988-da41-8d7b-12977e46ad98
2009-07-14 14:33:39 +00:00
Nanang Izzuddin 54ad79787c Ticket #918: Added C compatible declarations in modules: G.711, transport SRTP, libresample.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2832 74dad513-b988-da41-8d7b-12977e46ad98
2009-07-14 13:45:52 +00:00
Benny Prijono 169f92c7e0 Ticket #916: Crash in TURN client when TCP connection is used
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2831 74dad513-b988-da41-8d7b-12977e46ad98
2009-07-10 15:38:19 +00:00
Nanang Izzuddin ab2e716896 Misc fix (#915): Moved a call to dump_check() in ice_session.c to be inside the log printing.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2827 74dad513-b988-da41-8d7b-12977e46ad98
2009-07-02 11:09:23 +00:00
Benny Prijono 25cb51dafc Ticket #913: Concurrency problem in select ioqueue may corrupt descriptor set
- fixed the concurrency problem
 - also fixed ioqueue unregister test in pjlib-test


git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2826 74dad513-b988-da41-8d7b-12977e46ad98
2009-07-02 08:24:22 +00:00
Nanang Izzuddin abf58dbe71 Ticket #910:
- Added a new API pjmedia_codec_passthrough_init2().
 - Updated the initialization steps of passthrough codec in pjsua_media.c, to configure the codecs (of passthrough codec) to be enabled based on audio device extended/encoded formats.
 - Minor update: added passthrough.h into pjmedia_codec.vcproj.




git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2825 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-30 15:02:06 +00:00
Benny Prijono d06d8c505f Related to #911:
- added subscription state name string in pjsua_buddy_info and display this in pjsua


git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2824 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-30 13:53:47 +00:00
Benny Prijono 384a6222be Related to #911:
- added SIPp scenario for scenario when the first NOTIFY immediately terminates the subscription


git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2823 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-30 13:49:54 +00:00
Benny Prijono ce00fa0cef Ticket #911: Crash when receiving NOTIFY after subscription is terminated (thanks Johan Lantz for the report)
- fixed the bug by not processing the NOTIFY if the subscription is already terminated
 - also added SIPp scenario to reproduce the bug


git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2822 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-30 13:47:44 +00:00
Nanang Izzuddin d687a5028c Ticket #909:
- Added new audio device VAS for Symbian platform.
 - Updated symsndtest to use the latest audio device framework.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2821 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-30 13:37:26 +00:00
Benny Prijono 45fe2e81e2 Ticket #906: Transaction is not destroyed when transport timeout event comes later than transaction timeout (thanks Norma Steveley for the report)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2797 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-25 10:05:18 +00:00
Benny Prijono 324fccc932 Changed version to 1.3-trunk
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2796 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-25 08:08:35 +00:00
Benny Prijono 3bbe6639c2 Changed version to 1.3
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2786 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-23 12:40:42 +00:00
Benny Prijono 2523a84c31 Ticket #894: fixed failed pjnath ice test due to too many network adapter installed in the host
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2785 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-23 12:08:20 +00:00
Benny Prijono 4fd2bfe861 Ticket #894: pjnath test failed on ICE test if the host has three or more network adapters
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2784 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-22 21:17:16 +00:00
Nanang Izzuddin d1f65b068d Ticket #893: Fixed timer test for Symbian to use Active Scheduler poll, instead of timer poll.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2783 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-22 19:33:40 +00:00
Benny Prijono c17486803a Ticket #891: fixed deadlock on pjlib-test ioqueue unregister stress test. This seems to have fixed the Bus error too
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2782 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-22 19:18:55 +00:00
Nanang Izzuddin 940d3f625a Ticket #758:
- fixed transport TCP to call on_connect_complete when connect() returns PJ_SUCCESS.
 - added option to enable transport TCP in symbian_ua.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2781 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-22 14:06:40 +00:00
Nanang Izzuddin 7433b1ee93 Misc (#838): Updated symbian_ua_gui.mmp libraries order, previously there was linking error on MR when APS direct enabled.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2780 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-22 13:55:26 +00:00
Nanang Izzuddin 530820eab9 Misc (#838): Added libpassthroughcodec.lib into symbian_ua_gui.mmp.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2779 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-22 12:03:01 +00:00
Benny Prijono 6a65a7da5f Ticket #890: pjlib-test failed on select() test Windows Vista multi-core
- Added pj_thread_sleep(10) before calling sleep(). Tried with other ways too but this seems to be appropriate, as in the real application this shouldn't matter


git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2778 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-19 09:38:40 +00:00
Benny Prijono bb51e500e4 Misc (#838): don't print error if MDA MaiscRecordComplete() or MaoscPlayComplete() returns KErrCancel (-3)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2777 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-19 09:15:59 +00:00
Nanang Izzuddin d3708c30ea Ticket #895: Updated jbuf test to use defined search paths for locating test data file (when opening the file in working dir fails).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2776 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-18 15:49:06 +00:00
Nanang Izzuddin 60141e711a Ticket #892: Added IPv6-enabled check (compile-time) in stun test vector containing IPv6 data, also added more run-time checks in stun fingerprint test internal.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2775 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-18 14:04:44 +00:00
Benny Prijono 1572cd6e29 Ticket #889: TURN client ignores the allocation parameter specified by application
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2774 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-17 19:20:11 +00:00
Benny Prijono d4afaaa514 Ticket #888: TURN client allocation failure when it receives multiple 438/Stale Nonce responses (thanks Peter Livesey for the report)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2773 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-17 19:14:20 +00:00
Nanang Izzuddin f84d9ba019 Ticket #887: Minor update: added app registration info for Symbian pjlib-test, so there will be shortcut when installed on device.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2772 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-17 18:30:45 +00:00
Benny Prijono d77e07b504 Ticket #758 (Problem with TCP transport on Symbian)
- fixed TCP recv() to use RecvOneOrMore()
 - fixed activesock unit test in pjlib-test


git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2771 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-17 13:31:13 +00:00
Benny Prijono d4b0b1d86c More ticket #878:
- pj_sockaddr_parse() is unable to parse "localhost" on Symbian, so disable the test in pjlib-test



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2770 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-17 12:38:58 +00:00
Benny Prijono f70f63935b Part of ticket #887:
- added pj_shutdown() in pjlib-test's test.c
 - refactor main_symbian.cpp (it's not been used for a while)
 - compilation error/warning about initializing pj_str_t struct from non-constant value



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2769 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-17 12:36:36 +00:00
Benny Prijono 1e6be1c564 Ticket #887: Re-enable compile as C++ option for libraries as part of making exception work in Symbian
- also added pjlib-test in bld.inf
 - added pjlib-test.pkg
 - changed hash.c to hash_test.c in pjlib_test




git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2768 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-17 12:34:18 +00:00
Benny Prijono e11dbee073 Misc fix (#838): fixed warning about unitialized status variable with gcc
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2767 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-17 12:18:42 +00:00
Benny Prijono 761e1415a6 Misc fix (ticket #838): compilation warning when int is not typecasted to pjsip_transport_type_e enum
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2766 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-17 12:13:46 +00:00
Nanang Izzuddin 61d351c9ae Ticket #862: Updated pjsua python test for srtp with crypto tag zero.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2765 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-17 12:00:47 +00:00
Nanang Izzuddin 560e286321 Ticket #873: Minor update: cleaned up compile warnings of undefined function.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2764 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-17 10:37:18 +00:00
Nanang Izzuddin e2cdc864a0 Ticket #808: Added compile time trap to avoid both implementations coexist.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2763 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-16 10:46:03 +00:00
Benny Prijono 28add7efef Ticket #873: Include the parsed XML tuple in the pjsip_pres_status, and include it in the pjsua_buddy_info in PJSUA-LIB, in case the PIDF document contains other info that is needed by application (thanks Johan Lantz for the suggestion)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2762 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-15 16:03:40 +00:00
Nanang Izzuddin e90a39c0a9 Ticket #883:
- Fixed stream bug in generating RTP header for keep-alive packet with empty RTP.
 - Updated stream to skip suspending the VAD when PJMEDIA_STREAM_VAD_SUSPEND_MSEC is set to 0.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2761 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-13 15:51:30 +00:00