Benny Prijono
224b4e22a7
Ticket #549 : major modification in media transport API to support more offer/answer scenarios
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2032 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-19 14:10:28 +00:00
Benny Prijono
ed6bd028f8
Added new API's in ICE stream transport to assist offer/answer negotiation: pj_ice_strans_has_sess(), pj_ice_strans_sess_is_running(), pj_ice_strans_sess_is_complete(), pj_ice_strans_get_running_comp_cnt(), pj_ice_strans_get_ufrag_pwd(), and PJNATH_EICEMISMATCH error code.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2031 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-19 13:54:21 +00:00
Benny Prijono
ba5d8e06b1
Clarified in the pj_create_random_string() comment that the output string is not NULL terminated
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2030 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-19 13:49:20 +00:00
Nanang Izzuddin
f810f95fc3
Added new callback for module: post_func (called at the end of the test), added userdata param for modules, and added new module media_playrec with some scripts
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2029 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-18 21:04:14 +00:00
Benny Prijono
f9bd1f2f7d
More ticket #543 : updated automated tests to run on Unix
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2028 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-16 13:04:44 +00:00
Nanang Izzuddin
148fd3929a
More ticket #540 : updated snd-auto-close to work friendly with call
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2027 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-16 09:52:50 +00:00
Nanang Izzuddin
6472e1bfb0
Cleaned up unused field avg_jitter from rtcp session
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2026 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-16 08:27:48 +00:00
Benny Prijono
cc1ada5831
Added presence pjsua unit tests
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2025 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-15 19:43:43 +00:00
Benny Prijono
4f96689a0a
Changed tonegen to use native clock rate, and other minor changes
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2024 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-14 22:43:56 +00:00
Benny Prijono
e28cec89fa
Refine the tone feature implementation in pjsua
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2023 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-14 20:40:53 +00:00
Benny Prijono
495409d00c
Added pjmedia_tonegen_rewind()
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2022 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-14 20:33:44 +00:00
Benny Prijono
91d20f460b
Added ringback/alert tones in pjsua
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2021 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-14 19:42:37 +00:00
Benny Prijono
dd3d002ed4
Implement ticket #546 and revisit ticket #439 :
...
- ticket #546 implements RTCP SDES and CNAME
- re-enable periodic RTP TX which was disabled by #439
- fixed bug in RTCP TX interval
- changed PJMEDIA_CODEC_MAX_SILENCE_PERIOD value from ts to msec
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2020 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-14 16:52:04 +00:00
Benny Prijono
4d49c78d39
More ticket #505 : added constants to shrink the excess frames in jbuf even more slowly, default can only discard one excess frame per 200ms
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2019 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-14 16:44:33 +00:00
Nanang Izzuddin
68559c3dac
Ticket #540 : Added pjsua-lib feature auto-close sound device on idle and new pjsua option --snd-auto-close=N
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2018 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-13 17:01:46 +00:00
Benny Prijono
8c331dfa5e
More ticket #543 : added ICE test
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2017 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-13 15:32:08 +00:00
Nanang Izzuddin
2283e8791c
Added svn:ignore list for symbian_ua_gui
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2016 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-13 15:19:02 +00:00
Benny Prijono
89ac2b4d25
Fixed various compilation warnings with gcc strict compilation
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2015 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-13 12:52:56 +00:00
Benny Prijono
3eb16d78bc
Fixed build error on the Python module. It's still not up-to-date with the latest API though
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2014 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-12 22:45:26 +00:00
Benny Prijono
a8a144cdbb
Ticket #543 : added TCP call in pjsua unit test
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2013 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-12 19:13:51 +00:00
Benny Prijono
62ae5c689f
More ticket #543 : added SRTP negotiation tests
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2012 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-12 18:10:22 +00:00
Benny Prijono
cbd38c68d1
Related to ticket #525 : transport_srtp returns PJ_EINVALIDOP in UPDATE or re-INVITE when media is already active
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2011 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-12 18:07:28 +00:00
Nanang Izzuddin
b0dd211ed3
More ticket #542 : updated dsound.c to adapt with latency setting
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2010 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-12 16:54:48 +00:00
Benny Prijono
4b4adb3b97
Ticket #543 : initial framework for pjsua testing, still needs lots of test scenarios
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2009 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-12 15:37:22 +00:00
Benny Prijono
ebc32c312b
Added echo option and stdout refresh in pjsua to assist automated test scripts
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2008 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-12 13:30:39 +00:00
Nanang Izzuddin
d7fefd72b7
Ticket #542 : added new API and macro for sound device latency settings, also added new param for this in pjsua
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2007 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-12 12:48:59 +00:00
Benny Prijono
800ec60675
Bug in srv_resolver: host_resolved value may exceed number of SRV records if there are more than A records in Additional Record section of the response for a single SRV target (thanks Ruud Klaver)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2006 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-12 12:36:59 +00:00
Benny Prijono
123fad7d79
Fixed error representing the qvalue in Contact header (parser error), and optimize the printing to remove ending zero digits (thanks Philippe Leuba)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2005 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-11 11:18:04 +00:00
Nanang Izzuddin
9dbad15b00
Updated default speex quality settings and reenabled pjsua to set Speex codec quality based on media quality config
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2004 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-10 18:56:10 +00:00
Nanang Izzuddin
7155cc6591
Fixed Speex build config
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2003 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-10 14:35:50 +00:00
Nanang Izzuddin
3cbb0653f2
Upgraded Speex version to the latest and reorganized it in local copy (since Speex is now using Git)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2002 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-10 14:09:37 +00:00
Benny Prijono
f551240a57
Added gdi32.lib and advapi32.lib in Samples-vc.mak as it causes link error when TLS is enabled (on certain Platform SDK?)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2001 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-10 11:13:04 +00:00
Nanang Izzuddin
85d2084357
Removed codec G729 from encdec.c
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2000 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-09 12:32:01 +00:00
Benny Prijono
b618d62acb
Related to r1996, do not return 0.0.0.0/8 class IP address in pj_gethostip() (thanks Helmut Wolf)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1999 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-09 10:07:11 +00:00
Nanang Izzuddin
fd461eb779
Added more validations & a new API (thanks Florian Bomers):
...
- added more validation on pjmedia transport get info.
- added more validation on stop_media_session() of pjsua_media, useful when conference is not used.
- added new API for retrieving user_data of pjmedia session.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1998 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-09 09:35:59 +00:00
Benny Prijono
0890fb6d16
Fixed more mismatch decl/def function specifications (thanks Samuel Vinson)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1997 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-07 11:23:27 +00:00
Benny Prijono
dd538edbb8
Ignore 0.0.0.0/8 class IP address in interface enumeration function since this doesnt seem to have practical use for us (thanks Helmut Wolf)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1996 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-07 11:14:32 +00:00
Benny Prijono
70656cb965
Fixed mismatched between declaration and definition of pj_stun_msg_encode() (thanks Samuel Vinson)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1995 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-07 09:22:25 +00:00
Benny Prijono
2bfc3d8d0a
Added error logging when authentication fails in TURN server sample
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1994 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-06 23:10:37 +00:00
Benny Prijono
758bae4d33
Fixed minor bug: wrong pool name for STUN session pool
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1993 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-06 23:07:31 +00:00
Benny Prijono
1189365820
Ticket #418 Protect client registration session with mutex
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1992 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-06 22:52:48 +00:00
Benny Prijono
739551f551
Fixed compilation warnings in dns_server.c
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1991 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-06 20:59:11 +00:00
Benny Prijono
f76e1396d7
More ticket #485 : added TURN support in PJSUA-LIB API
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1990 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-06 14:51:48 +00:00
Benny Prijono
848be0842d
More ticket #485 : major modification in transport_ice to support new ICE stream transport API
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1989 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-06 14:50:13 +00:00
Benny Prijono
ff1df04070
Major major modifications related to ticket #485 (support for TURN-07):
...
- Added STUN socket transport pj_stun_sock
- Integration of TURN-07 to ICE
- Major refactoring in ICE stream transport to make it simpler
- Major modification (i.e. API change) in almost everywhere else
- Much more elaborate STUN, TURN, and ICE tests in pjnath-test
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1988 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-06 14:47:10 +00:00
Benny Prijono
71c8395069
Ticket #537 : implemented Simple DNS Server class (for testing) in pjlib-util
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1987 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-06 14:18:28 +00:00
Benny Prijono
ea8e436fe1
More ticket #531 : added user_data parameter in activesocket creation API to make it more robust against programming errors
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1986 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-06 14:12:23 +00:00
Nanang Izzuddin
e4b4b7d9a7
Added field maximum bitrate to codec param, this is useful for providing safer frame size calculation, especially when peer's bitrate is unknown
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1985 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-06 12:15:23 +00:00
Nanang Izzuddin
eb4c616cb5
Cleaned up warnings of [u]char-[u]int conversions
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1984 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-06 11:13:36 +00:00
Nanang Izzuddin
3aef5e1b4f
Ticket #473 :
...
- fixed issue on Speex multiple frames (encoding: encoded bits concatenation & decoding: frames parsing)
- updated pjmedia stream & codecs on encoding multiple frames
- introduced bit_info in pjmedia_frame and jitter buffer
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1983 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-05 10:50:40 +00:00