Commit graph

397 commits

Author SHA1 Message Date
Benny Prijono
06d1d0ed00 Fixed ticket #82: link error when codec(s) are disabled from configure script (thanks Thomas Reitmayr)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@910 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-27 18:09:28 +00:00
Benny Prijono
4af234b591 Implement ticket #62: option to play tones continuously, and added --play-tone option in pjsua
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@904 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-24 02:02:09 +00:00
Benny Prijono
32e4f4910c Implement ticket #77: allow specifying multiple files in pjsua
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@903 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-24 00:44:26 +00:00
Benny Prijono
fbce9d0c06 Support for Visual Studio 2005 workspace
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@898 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-23 05:35:36 +00:00
Benny Prijono
990042e6ef Added ability to feed text file containing commands (on Windows) and sleep command to pjsua. Thanks Steven Halerman.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@894 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-21 19:36:00 +00:00
Benny Prijono
e960bb54f9 Fixed gcc warnings, especially about dereferencing type-punned pointer
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@893 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-21 17:53:39 +00:00
Benny Prijono
87ef89a592 Continuing work on ticket #50: make explicit transport selection works for sending response
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@882 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-14 00:39:45 +00:00
Benny Prijono
f77ba882da Added simple_pjsua example
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@876 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-08 01:20:07 +00:00
Benny Prijono
1ef52e46e5 Fix eol-style in pjsua.py/py_pjsua.c
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@870 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-28 15:56:06 +00:00
Fahris
dcf8fa4beb py_pjsua.c and pjsua.py updated until lib call
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@869 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-28 03:13:48 +00:00
Benny Prijono
6dd967c9ac Ticket #51: Added audio level adjustment to PJSUA-API
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@864 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-26 02:27:14 +00:00
Benny Prijono
0875ae8c4e Added DTMF callback support all the way to PJSUA API (ticket #48)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@863 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-26 00:11:48 +00:00
Benny Prijono
f3bbc139b5 Major TLS work (ticket #3): asynchronous socket, rather complete TLS options, and pjsua integration. The TLS support should work in both client and server mode.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@861 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-25 06:43:59 +00:00
Benny Prijono
0d510786fa Ticket #46: added recording capability in streamutil sample application
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@856 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-22 15:24:11 +00:00
Benny Prijono
6f0a3d717a Added debugging info setting in Visual Studio project in Release mode
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@853 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-11 09:52:20 +00:00
Benny Prijono
dc308700f8 First update on buddy API
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@851 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-09 00:39:42 +00:00
Benny Prijono
6e0e54bff3 Initial implementation of TLS transport for ticket #3 (still not working at all)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@849 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-08 21:58:31 +00:00
Benny Prijono
987935985d Updated Python abstraction with transport and account API
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@845 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-04 08:33:20 +00:00
Benny Prijono
f762ee7376 Fixed ticket #29: calling pjsua_init() to reinitialize the whole libraries after pjsua_destroy() is called
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@839 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-01 11:14:37 +00:00
Benny Prijono
bc96847e46 Implement task #26: integrate table based Alaw/Ulaw/linear conversion into pjmedia (thanks Toni Rutar for the original contribution)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@838 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-30 01:35:00 +00:00
Benny Prijono
5807f2c60e Fixed sndtest bug (ticket #32): it doesn't display the correct device being tested when default device is used.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@837 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-29 23:12:26 +00:00
Benny Prijono
2b6ec1a259 Added 'cc x y' and 'cd x y' command in pjsua as shortcut commands for the normal cc and cd command
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@832 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-26 10:49:58 +00:00
Benny Prijono
4be63b5a58 Print media statistic when call is disconnected in pjsua, to assist tracing media problems
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@831 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-25 14:50:25 +00:00
Benny Prijono
5b1e14d2f3 Fixed bug in siprtp: media transport was incorrectly NULL-ed after end of call, causing next call to fail
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@829 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-25 08:46:48 +00:00
Benny Prijono
4a92299d8e Updated footprint script to include new stuffs such as echo canceller and tone generator
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@826 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-24 09:31:22 +00:00
Benny Prijono
9872573227 Fixed footprint calculation script
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@825 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-24 09:02:19 +00:00
Benny Prijono
572d485316 Updated Python project with base PJSUA API
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@824 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-23 21:50:02 +00:00
Benny Prijono
12a669c7a6 Worked on the AEC. Apply constant delay bufferring for the AEC,
and also consider sound device latency when applying EC. It
sounds like working although it still doesn't perfectly cancel
the echo.

EC is now by default enabled in PJSUA.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@822 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-23 07:32:13 +00:00
Benny Prijono
af1bb1e09f Fixed handles leak upon program exit, by introducing pj_shutdown() and pj_atexit(). Also fixed handle leaks in SIP transaction layer and SIP endpoint.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@815 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-21 12:39:31 +00:00
Benny Prijono
8b8b9974cc Added initial Python module
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@803 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-16 11:18:03 +00:00
Benny Prijono
5a9e2041ee Fixed transport detachment when there's no thread being used in siprtp.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@800 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-14 13:35:20 +00:00
Benny Prijono
f7b1c39e34 Committed what seems like what left uncommitted in previous commit (pjsua_app.c and pj/config.c)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@798 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-11 16:46:34 +00:00
Benny Prijono
3647cbd05c Changed svn:eol-style to CRLF for Visual Studio projects
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@794 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-08 09:08:02 +00:00
Benny Prijono
d95abb4ede Fixed bug in siprtp in SDP generation because of recent change in SDP attribute value
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@784 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-20 10:18:44 +00:00
Benny Prijono
1ebd614540 Fixed miscellaneous warnings with gcc compilation
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@782 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-19 15:48:02 +00:00
Benny Prijono
4ddad2c1fc Some changes to REFER handling in PJSUA-LIB:
- added callback to report call transfer progress
 - changed the call transfer request callback name in pjsua
 - added "--norefersub" option in pjsua.
 - fixed bug when call transfer is done more than once in
   the same dialog (dialog usage can not be added)

Also removed 7xx status from the SIP status codes.

And added pjsip_parse_status_line() to parse sipfrag.




git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@780 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-18 17:16:34 +00:00
Benny Prijono
27f01ddebf FIXED BUG: pjsip_endpt_send_request() SHOULD DELETE THE REQUEST REGARDLESS OF THE STATUS!!!
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@777 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-16 21:07:19 +00:00
Benny Prijono
4e05b47e23 Added logging in pjsua wince
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@774 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-16 15:52:31 +00:00
Benny Prijono
41c96f37fb Changed siprtp to bind to specific address (instead of 0.0.0.0) when -i option is specified in the command line
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@771 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-16 11:39:07 +00:00
Benny Prijono
fa9e5b1a6c Major addition to support DNS SRV resolution in PJSIP:
- added DNS asynchronous/caching resolver engine in
  PJLIB-UTIL (resolver.[hc])
- modified SIP resolver (sip_resolve.c) to properly
  perform DNS SRV/A resolution when DNS resolution is
  enabled.
- added dns_test.c in PJSIP-TEST for testing the SIP
  resolver.
- added nameserver configuration in PJSUA-LIB
- added "--nameserver" option in PJSUA.
- updated project/Makefiles and doxygen documentation.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@753 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-08 12:39:34 +00:00
Benny Prijono
0a5cad8dec Added support for specifying IP address in PJSUA-LIB/pjsua.
This option can be used for example to select the IP 
interface of SIP/RTP/RTCP transports, or to specify the
public IP address of NAT/router in case port forwarding is
used.

For SIP transports, this feature works for both UDP and 
TCP transports.

Changes:
 - added public_ip field in pjsua_transport_config, and
   change SIP and media transport creation to consider this
   option.
 - added --ip-addr option in pjsua
 - added pjsip_tcp_transport_start2() which allows 
   specifying alternate TCP published address when creating
   TCP transports.




git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@742 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-26 13:21:02 +00:00
Benny Prijono
093d3022e3 Fixed several bugs in PJSUA-API:
- in some condition, when outgoing call fails, call count
  incorrectly decremented to -1
- introduce account priority in pjsua_acc_config, and
  improve the account searching for incoming calls
- pjsua will hangup call after sending transfer/REFER request.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@737 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-24 00:07:11 +00:00
Benny Prijono
5ee1f2eb96 Updated doxygen documentation for the website
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@736 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-22 20:43:00 +00:00
Benny Prijono
d524e82949 In pjsua, outgoing REFER now always put Refer-Sub: false
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@733 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-22 12:48:18 +00:00
Benny Prijono
148c9dd37a Fixed race-condition/deadlock problems in the dialog/user agent layer
all the way up to PJSUA-API:
- standardized locking order: dialog then user agent, and dialog then PJSUA
- any threads that attempt to acquire mutexes in different order than
  above MUST employ retry mechanism (for an example, see acquire_call() in
  pjsua_call.c). This retry mechanism has also been used in the UA layer
  (sip_ua_layer.c) since it needs to lock user agent layer first before
  the dialog.
- introduced pjsip_dlg_try_inc_lock() and PJSUA_TRY_LOCK() to accomodate
  above.
- pjsua tested on Quad Xeon with 4 threads and 200 cps, so far so good.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@729 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-19 13:37:53 +00:00
Benny Prijono
594e4c5f29 Fix the local IP address resolution issue in PJSIP, PJMEDIA, and PJSUA, by adding a new API pj_gethostip() to resolve the default local IP address of local host. This new function will work even when local hostname resolution is not set correctly, by detecting the default IP interface in the system.
Also fix compile warnings in iLBC.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@721 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-14 18:51:01 +00:00
Benny Prijono
39ea7f0e32 Fixed WinCE compilation
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@717 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-14 13:52:29 +00:00
Benny Prijono
804ff0aa0c Added --duration option in PJSUA to limit the maximum duration of calls. Also added pjsip_generic_string_hdr_init2() to initialize temporary SIP header that is allocated in the stack.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@715 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-14 11:17:48 +00:00
Benny Prijono
d6388acc29 Fix compilation error when PJSIP_AUTH_HEADER_CACHING and PJSIP_AUTH_AUTO_SEND_NEXT is disabled, and set the default for both to disabled. Also fixed the error message in pjsua when invalid arguments are specified.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@695 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-09 13:23:09 +00:00
Benny Prijono
7f5c12cb57 Added multi-purpose tone generator in PJMEDIA (tonegen.[hc])
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@693 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-02 23:45:18 +00:00
Benny Prijono
3a5e1ab170 Support for PUBLISH (RFC 3903):
- API BREAK: pjsua_pres_create_uac() API CHANGED!! Added
  options in the function, to allow creating SUBSCRIBE without
  ";id=" parameter in the Event header.
- the generic event publication in pjsip-simple/publish.[hc]
- split PIDF and X-PIDF body generation and parsing into
  pjsip-simple/presence_body.c.
- allow NULL in module parameter in pjsip_endpt_add_capability()
- added "--publish" option in PJSUA.
- by default, PJSUA-LIB will not add ";id=" parameter in Event
  header in the SUBSCRIBE request since lots of server and
  user agents don't support this correctly.
- Set version to 0.5.7.6.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@685 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-15 20:26:34 +00:00
Benny Prijono
21b9ad9ea5 Added initial PUBLISH client support, and also default account selection in pjsua/pjsua-lib
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@683 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-15 13:11:22 +00:00
Benny Prijono
fc290a6557 Set default codec to PCMU in pjsip-perf
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@676 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-13 18:20:55 +00:00
Benny Prijono
c1e263f5ce Fixed run-time bug with simple_ua and pjsip-perf sample.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@668 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-09 13:53:59 +00:00
Benny Prijono
fd27c6699a Changed WinCE demo app to automatically answer incoming calls.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@667 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-09 11:59:26 +00:00
Benny Prijono
10861bc15e Fixed bug in --auto-conf option in pjsua
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@661 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-07 13:22:43 +00:00
Benny Prijono
80019eb11f Added Ctrl-C handler for pjsua Windows, and added average bps in media statistic.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@660 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-07 13:22:23 +00:00
Benny Prijono
7ca96da54f Added --auto-conf options in pjsua, also enable speex/3200, and set quality 5 to use large resampling filter
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@659 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-07 12:11:40 +00:00
Benny Prijono
5da50430bb Change set_ec_tail() API to set_ec() in sound port, also change suppressor to reduce mic signal by division rather than zeroing the signal. Also moved out VAD and EC settings to config.h.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@658 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-07 10:24:52 +00:00
Benny Prijono
f521eb0401 Fixed assertion error if ACK is received before INVITE transaction sends final response (malicious?). Also fixed misc warnings, and stress-tested on Quad Xeon
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@657 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-06 23:07:25 +00:00
Benny Prijono
edba079f23 Echo suppressor tuning and testing on WincE, and also added config_site_sample.h
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@656 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-06 18:23:56 +00:00
Benny Prijono
22dfe59f7e Change AEC into generic echo canceller framework with either AEC or simple echo suppressor backend can be selected during runtime.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@653 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-06 12:07:13 +00:00
Benny Prijono
7c3741fe38 Set to use PCMU and disable AEC for WinCE target.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@652 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-05 21:07:15 +00:00
Benny Prijono
70972993e6 AEC and sound backend fixes:
- Changed default sound backend in Windows to PortAudio
- Finalizing AEC settings on Windows:
	- default tail is 256 msec
	- write AEC configuration with "dc"



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@651 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-05 11:13:58 +00:00
Benny Prijono
f20687a082 More work on the AEC (including changes in PJSUA), embed the AEC in sound_port, reduce DirectSound buffer from 32 to 16, and fixed ARM compilation for MSVC WinCE target.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@648 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-04 18:27:19 +00:00
Benny Prijono
69f7312f51 More experimentation with AEC: (1) added media port to create bidirectional port from two unidirectional ports, (2) split AEC functionality into AEC algorithm (aec.h) and AEC media port (aec_port.h), (3) Added the AEC functionality in the sound_port.c.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@646 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-04 11:08:00 +00:00
Benny Prijono
d79f25c3aa Fix compilation error in MacOS because of recent changes in config.h, also disable AEC by default in pjsua-lib, and added ec-tail option in pjsua
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@643 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-02 19:41:37 +00:00
Benny Prijono
01f0154646 Added simple WinCE application:
- added pjsua_wince in pjsip-apps, which is a 
  simple SIP UA application just to broadly test 
  pjsip/pjmedia on WinCE.
- Fix name conflicts in xpidf.c (e.g. ATOM variable
  conflicts with ATOM type in WinCE SDK).
- Fix speex compilation errors on Wince (e.g. 
  inline keyword is not recognized, replaced with
  PJ_INLINE).



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@641 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-01 23:09:35 +00:00
Benny Prijono
7bef0f5d02 Changed siprtp on Linux to raise the thread priority
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@639 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-31 18:54:06 +00:00
Benny Prijono
00cae61f5e - Added iLBC codec (experimental) with the following features:
- configurable default decoder mode (20 or 30),
   - encoder mode follows the mode specified in SDP fmtp from
     the remote's SDP,
   - silence detector uses pjmedia's,
   - PLC uses iLBC's PLC,
   - perceptual enhancement (penh) is configurable via codec
     param, as usual.

- iLBC mode is configurable in pjsua with --ilbc-mode option.

- Added packet lost simulation in pjmedia's UDP transport and
  in pjsua (with --rx-drop-pct and --tx-drop-pct options).

- Increase default buffer count in DirectSound to 32 frames
  to make it more resilient to CPU disruption.

- Specify and parse fmtp mode in SDP for codecs that need it.




git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@637 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-31 15:19:36 +00:00
Benny Prijono
e85bc4114b Another take at fixing 64bit problems. PJ_MAX_OBJ_NAME is increased to 32 chars (from 16), and check all those sprintf's especially the ones with "%p" format.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@635 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-29 20:29:24 +00:00
Benny Prijono
e909eac609 Added capability in pjsua to add application created media port to pjsua's conference bridge, also capability to use custom sound device in pjsua.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@632 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-27 22:04:56 +00:00
Benny Prijono
0a12f00fc3 Added --ptime and --no-vad option in pjsua
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@629 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-26 17:05:39 +00:00
Benny Prijono
05784a54d5 Fixed minor bug in siprtp: in summary report, percentage of RX loss is displayed in the TX section
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@626 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-25 11:54:15 +00:00
Benny Prijono
7db431e40c Added 64bit Linux target (x86_64), also fixed compilation warnings when compiling for this target
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@624 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-23 14:38:49 +00:00
Benny Prijono
b699fe28f2 Improvement/bug fix in hash table lookup to allow user to specify the hash value, and modify transaction to take advantage of this feature
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@623 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-23 10:10:35 +00:00
Benny Prijono
258ece97ba Few changes in siprtp:
(1) Added "s" command to show summary of all calls statistic
(2) Media start delay changed from 1000ms to 50ms
(3) Changed print_call to use LOG instead of printf, so that it can be turned off



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@621 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-22 12:53:04 +00:00
Benny Prijono
48af79cdb0 pjsua application should check that the --max-calls argument does not exceed compile time maximums
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@620 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-22 12:49:17 +00:00
Benny Prijono
513795f798 Undo modification to use timer, and back to using threads as the performance is not good
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@615 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-18 21:12:24 +00:00
Benny Prijono
563156189c Small improvements: (1) pjsua now responds to incoming OPTIONS request, which means that some modules (evsub, invite) need to register their capabilities to the endpoint, (2) added command in pjsua to send arbitrary request
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@612 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-18 14:39:40 +00:00
Benny Prijono
dcc0cbf0be Fixed crash in SIP TCP transport deinitialization, and set pjsip-perf to handle INVITE request to non-standard URL call-statefully
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@605 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-16 10:40:37 +00:00
Benny Prijono
ceb12607c8 Attempt to get some applications linked for RTEMS target, just to get the footprint calculation working
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@604 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-14 15:20:00 +00:00
Benny Prijono
49f682acab Some minor modifications here and there in pjsip-perf
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@603 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-11 12:25:45 +00:00
Benny Prijono
775a1b2268 Added PJSIP_MAX_NET_EVENTS configuration to pjsip
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@602 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-11 09:53:27 +00:00
Benny Prijono
c35737640a pjsip-perf uses 1 milisecond polling timeout because IOCP does not work correctly if application does not yield the CPU
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@601 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-10 21:39:24 +00:00
Benny Prijono
b4a17c942d Fixed bug in PJSUA API re: account selection and Contact header for accounts
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@597 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-10 14:40:21 +00:00
Benny Prijono
1ef06dfc33 Report peak memory used upon exiting
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@595 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-09 10:06:44 +00:00
Benny Prijono
cb832eb539 Added caching pool capacity upon exiting pjsip-perf
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@593 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-08 19:49:02 +00:00
Benny Prijono
bdf202a5b3 More fine tuning on the footprint report generation script
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@591 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-08 10:03:46 +00:00
Benny Prijono
17e0d74d38 Some improvements in footprint generation
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@586 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-05 20:45:55 +00:00
Benny Prijono
313b1e4697 Added script, source file, and makefile to calculate PJSIP/PJMEDIA footprint
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@585 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-04 23:48:51 +00:00
Benny Prijono
b6eab2cc6d Various performance improvements in PJSIP: (1) optimizing for common case to minimize stricmp() calls (header names, method, URI schemes), (2) added functionality in scanner to parse and unescape in-place, (3) etc..
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@583 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-03 22:08:47 +00:00
Benny Prijono
ac623b3bca Change all pj_memset to pj_bzero(), where applicable
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@582 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-03 15:19:31 +00:00
Benny Prijono
1479b65e53 Fixed minor bug in pool_caching.c that prevent pool from being reused if the capacity has changed when the pool is released
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@581 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-03 14:18:17 +00:00
Benny Prijono
c03a3c5ffc Added TCP support in pjsip-perf (also tried on Linux)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@580 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-03 02:31:10 +00:00
Benny Prijono
514ca6b263 Added (the forgotten) pjsip-perf.c into samples dir
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@579 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-03 01:30:01 +00:00
Benny Prijono
8840610a9f Added pjsip-perf in the samples
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@578 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-03 01:09:50 +00:00
Benny Prijono
ca4cff24bc Added INVITE request verification in siprtp before incoming call is established
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@573 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-02 14:18:47 +00:00
Benny Prijono
b12106f981 Improvements in PJMEDIA to support RFC 3605 (RTCP attribute in SDP) and other changes to improve RTCP communication behind NAT. Also fixed bug related to RTCP reporting changes in revision 565
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@568 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-29 14:45:17 +00:00
Benny Prijono
f901651255 Fixed minor bug in the display of packet loss percentage
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@565 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-29 09:41:34 +00:00
Benny Prijono
e93e287b5c Major improvements in PJSIP to support TCP. The changes fall into these categories: (1) the TCP transport implementation itself (*.[hc]), (2) bug-fix in SIP transaction when using reliable transports, (3) support for TCP transport in PJSUA-LIB/PJSUA, and (4) changes in PJSIP-TEST to support TCP testing.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@563 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-28 16:46:49 +00:00
Benny Prijono
e6956991ea Changed siprtp to strictly use one worker thread for all (SIP and media)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@546 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-22 22:57:12 +00:00
Benny Prijono
4d3aa92ac6 Changed siprtp to use timer to schedule transmissions of RTP/RTCP packets
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@545 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-22 22:31:48 +00:00
Benny Prijono
819506cb2e Added dq command in pjsua to dump current call quality
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@544 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-22 22:29:51 +00:00
Benny Prijono
6fd4b8f213 Modify all applications because of changed in WAV port API (removed user_data from argument)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@541 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-22 18:51:50 +00:00
Benny Prijono
deb3196da3 Changed siprtp to use media transport framework to handle NAT
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@540 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-22 18:51:03 +00:00
Benny Prijono
1ec70b3082 Yet again large diffs because of documentation/doxygen update
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@531 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-20 15:39:07 +00:00
Benny Prijono
0498d902ee Re-live --quality options in pjsua
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@528 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-19 14:49:14 +00:00
Benny Prijono
787b8697bd Display the invalid argument in pjsua
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@526 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-19 12:40:03 +00:00
Benny Prijono
eef4f8c672 Comment out PJSUA options that are no longer supported with new pjsua
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@521 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-19 12:07:44 +00:00
Benny Prijono
37235afb40 Updated doxygen documentation to all headers in PJMEDIA
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@518 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-18 02:02:36 +00:00
Benny Prijono
c78c3a3544 Optimizations mostly in the conference bridge (gained more than 3x faster)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@513 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-16 15:54:43 +00:00
Benny Prijono
6f13748501 Fixed bug in command line parsing in pjsua
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@510 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-15 11:31:36 +00:00
Benny Prijono
172cd7322c Fixed new pjsua build/makefiles
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@508 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-14 20:22:31 +00:00
Benny Prijono
22a300a401 Implement --null-audio, --auto-loop, etc. in pjsua
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@507 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-14 20:04:55 +00:00
Benny Prijono
d2ea4eaaf8 Removed activex-pjsua from projects (no longer desired)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@504 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-14 12:08:52 +00:00
Benny Prijono
eebe9af098 -- REWRITE OF PJSUA API --
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@503 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-13 22:57:13 +00:00
Benny Prijono
97f2a3704d Changed codec names to uppercase in siprtp, as they are not accepted by some UA
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@494 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-07 21:21:57 +00:00
Benny Prijono
8b1889bdd2 Another huge chunks of modifications in PJSUA API, too many things to mention!
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@492 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-06 18:40:40 +00:00
Benny Prijono
b9b32abf60 Initial work on pjsua ActiveX component
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@487 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-01 12:28:44 +00:00
Benny Prijono
30c658b500 Added options in pjmedia UDP transport to disable source address checking
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@483 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-01 11:37:30 +00:00
Benny Prijono
9fc735d65f More changes in pjsua API to make it more complete high level API
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@482 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-28 14:58:12 +00:00
Benny Prijono
dc39fe8a2f First stage in pjsua library re-arrangements towards creating an easy to use high level API
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@476 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-26 12:17:46 +00:00
Benny Prijono
959df2a3fb Change jitter calculation in sound test (sndtest) to show the worst jitter value
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@471 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-22 10:48:11 +00:00
Benny Prijono
6a61c22b35 Put back high thread priority in dsound.c
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@469 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-22 10:28:44 +00:00
Benny Prijono
69d9d19f73 Added sound test sample
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@464 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-21 19:00:28 +00:00
Benny Prijono
6647d82f15 Set media thread in siprtp samples to highest priority to make RTCP jitter calculation as accurate as possible
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@460 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-20 13:01:07 +00:00
Benny Prijono
4100342690 Removed VSS traces from .dsp files
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@458 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-19 21:06:04 +00:00
Benny Prijono
fcb3672eae Added --report-file options in siprtp
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@454 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-18 18:34:21 +00:00
Benny Prijono
b04c9e0072 Major modification in pjmedia to split stream transport into separate functionality, to allow using custom transports with streams
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@452 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-17 17:17:39 +00:00
Benny Prijono
98ab1a290e Fixed error in Samples.mak (TARGET instead of TARGET_NAME)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@449 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-16 13:27:33 +00:00
Benny Prijono
f996213fe2 Rearrange transaction statefull stuffs in SIP so that it will not be linked when transaction is disabled
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@448 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-16 13:20:00 +00:00
Benny Prijono
ed8c0fc17f Changed default sound back-end on Win32 to own DirectSound
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@445 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-14 21:29:53 +00:00
Benny Prijono
4d7fd203b2 Fixed bug in siprtp because of recent changes in pjsip_session_info_from_sdp()
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@444 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-14 20:57:20 +00:00
Benny Prijono
65382dba06 Set default sound backend in Win32 to own DirectSound, and changed conference clock to 10ms (from 20ms)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@443 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-14 18:50:09 +00:00
Benny Prijono
42adf5e7fb Fixed more bugs with multiple frame handling
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@442 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-14 18:23:34 +00:00
Benny Prijono
95af4cce74 Add $TARGET variable in Samples-vc.mak
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@439 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-14 09:39:04 +00:00
Benny Prijono
8befd9fe99 Another major modifications in PJMEDIA:
- handle multiple frames in one packet
- split stream creation into two steps to allow customization
- PLC framework and implementation with G.711 and speex
- stream returns NO_FRAME correctly.
- added ptime argument in pjsua



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@438 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-13 22:46:23 +00:00
Benny Prijono
16a6b0e0f6 Split reporting capability to separate file in siprtp sample
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@437 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-12 10:20:03 +00:00
Benny Prijono
0382cd8135 Updated Makefiles, defined $TARGET as shortcut for ($MACHINE_NAME-$OS_NAME-$CC_NAME)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@431 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-04 08:43:02 +00:00
Benny Prijono
410fbaea61 Added maximum duration and auto-quit option in siprtp sample.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@430 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-03 18:16:06 +00:00
Benny Prijono
b8c251830a Improve codec handling in pjsua cmd-line options, and add URI to call
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@422 74dad513-b988-da41-8d7b-12977e46ad98
2006-04-29 08:31:09 +00:00
Benny Prijono
159530153a Initial support for stereo codecs, and added L16 codecs. Also better handling for case remote media is restarted
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@412 74dad513-b988-da41-8d7b-12977e46ad98
2006-04-27 22:37:08 +00:00
Benny Prijono
5012da80a7 Added sound clock drifting reporting in sndinfo sample
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@410 74dad513-b988-da41-8d7b-12977e46ad98
2006-04-25 10:02:40 +00:00
Benny Prijono
3cd1880275 Better support for continuing media when peer has restarted transmission/RTP session
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@409 74dad513-b988-da41-8d7b-12977e46ad98
2006-04-24 23:14:08 +00:00
Benny Prijono
6d7a45f38c Better support for continuing media when peer has restarted transmission/RTP session
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@408 74dad513-b988-da41-8d7b-12977e46ad98
2006-04-24 23:13:00 +00:00
Benny Prijono
bf13feebb0 Added stream.c example to demonstrate how to stream audio from both sound device or WAV file
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@407 74dad513-b988-da41-8d7b-12977e46ad98
2006-04-20 11:13:32 +00:00
Benny Prijono
393e5f310b Fixed small typo error in printed message in siprtp.c
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@395 74dad513-b988-da41-8d7b-12977e46ad98
2006-04-08 09:34:58 +00:00
Benny Prijono
14b7b66d86 Randomize RTCP send interval to reduce collision risk
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@394 74dad513-b988-da41-8d7b-12977e46ad98
2006-04-07 15:01:51 +00:00
Benny Prijono
e7483e5fcd Fixed RTCP compilation warnings with gcc
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@393 74dad513-b988-da41-8d7b-12977e46ad98
2006-04-06 21:08:35 +00:00
Benny Prijono
28903eb9b5 Beautify screen output of the siprtp sample
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@392 74dad513-b988-da41-8d7b-12977e46ad98
2006-04-06 21:01:25 +00:00
Benny Prijono
5b3b460cdd Fixed crash bug in siprtp sample when call is not connected
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@391 74dad513-b988-da41-8d7b-12977e46ad98
2006-04-06 20:36:27 +00:00
Benny Prijono
6996823860 Integrate (stream) quality monitoring into RTCP framework, and update all RTCP clients accordingly
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@390 74dad513-b988-da41-8d7b-12977e46ad98
2006-04-06 19:29:03 +00:00
Benny Prijono
c3238071ab Protect RTCP packet lost calculation against incorrect packet expectations
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@389 74dad513-b988-da41-8d7b-12977e46ad98
2006-04-05 22:05:04 +00:00
Benny Prijono
d7a13f1e35 Added detection/protection against inaccurate timestamp in RTCP
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@388 74dad513-b988-da41-8d7b-12977e46ad98
2006-04-05 19:08:16 +00:00
Benny Prijono
49ce9a73b8 Fixed bug in RTT calculation in RTCP and increase RTT resolution to usec
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@384 74dad513-b988-da41-8d7b-12977e46ad98
2006-04-05 16:56:19 +00:00
Benny Prijono
a1d03b4d15 Added RTCP end to end delay calculation
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@383 74dad513-b988-da41-8d7b-12977e46ad98
2006-04-05 12:53:42 +00:00
Benny Prijono
46ca996b91 Fixed bug in RTCP: packing error causing size mismatch when compiled with MSVC
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@382 74dad513-b988-da41-8d7b-12977e46ad98
2006-04-04 21:39:10 +00:00
Benny Prijono
9a0eab59c8 Changed RTCP timing to use high resolution timestamp
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@381 74dad513-b988-da41-8d7b-12977e46ad98
2006-04-04 19:43:24 +00:00
Benny Prijono
9d8a873548 Fixed SSRC generation in siprtp sample
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@380 74dad513-b988-da41-8d7b-12977e46ad98
2006-04-04 13:39:58 +00:00
Benny Prijono
4adcb919e1 Added more stats and options in siprtp samples
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@379 74dad513-b988-da41-8d7b-12977e46ad98
2006-04-04 13:12:38 +00:00
Benny Prijono
60b980e736 Added siprtp sample
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@375 74dad513-b988-da41-8d7b-12977e46ad98
2006-04-03 22:41:26 +00:00
Benny Prijono
c708f93084 Changed sndinfo sample to use higher resolution pj_get_timestamp() instead of pj_gettimeofday()
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@373 74dad513-b988-da41-8d7b-12977e46ad98
2006-04-03 11:42:56 +00:00
Benny Prijono
e452ddada1 Added DirectSound sound implementation
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@371 74dad513-b988-da41-8d7b-12977e46ad98
2006-04-03 09:43:36 +00:00
Benny Prijono
46ecff8ab1 Support for alternate pool backend
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@368 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-30 16:46:36 +00:00
Benny Prijono
bc79731b22 Added more samples: WAV recorder, resample, etc., and also moved some common functions to util.h
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@361 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-24 20:44:27 +00:00
Benny Prijono
4fca27bee4 Fixed misc warnings/errors in Solaris build
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@355 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-23 18:04:15 +00:00
Benny Prijono
a8df654b33 Fixed unable to open simultaneous sound streams in MacOS
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@353 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-23 14:20:42 +00:00
Benny Prijono
8482783fff Changed sound device framework to allow opening bidirectional streams from one device
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@352 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-23 13:15:59 +00:00
Benny Prijono
275fd68d29 Redesign RTP/RTCP stuffs so that stream does not create thread implicitly. Changed pjmedia_endpt_create() API.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@350 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-22 11:59:11 +00:00
Benny Prijono
86ee4b4583 Added macro to exclude filters in resample and added options to select resample algorithm in conference
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@347 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-21 11:59:15 +00:00
Benny Prijono
e260915ed7 Fixed error in Samples.mak when CFLAGS is specified in cmdline
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@346 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-20 22:34:09 +00:00
Benny Prijono
c9446cbb55 Added level.c to samples collection
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@344 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-20 19:00:37 +00:00
Benny Prijono
fa137ca7cf Added clock-rate options in pjsua
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@343 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-20 17:42:37 +00:00
Benny Prijono
204ce5e8ba Added sndinfo sample and tested samples on MacOSX Jaguar
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@342 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-20 16:59:23 +00:00
Benny Prijono
adb34657bf Removed sine generator from confsample
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@337 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-19 12:09:53 +00:00
Benny Prijono
cbc1c47b83 Added pjmedia playfile, playsine, and conference sample
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@336 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-19 00:50:23 +00:00
Benny Prijono
0a96836f08 Added comment on how to add credentials and route set in the dialog
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@332 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-18 12:29:01 +00:00
Benny Prijono
53fde13b74 Added comments in simpleua.c
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@329 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-17 19:41:19 +00:00
Benny Prijono
6107a00d90 Added samples (finally!!)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@328 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-17 18:01:27 +00:00
Benny Prijono
e8b0d3b0a6 Changed pjsip_inv_send_msg() function
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@324 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-17 17:57:52 +00:00
Benny Prijono
b100d69072 Added feature in conference bridge to get and set the signal level of individual port and individual stream direction
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@323 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-17 00:16:01 +00:00
Benny Prijono
4381efe1db Added misc flags and modify Makefiles to allow exclusion of PortAudio and specific codec during compilation
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@320 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-16 14:24:26 +00:00
Benny Prijono
7f09ad7f18 (Failed) Attempt to persuade VC2005 project conversion to include user32.lib and ole32.lib
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@317 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-10 13:38:10 +00:00
Benny Prijono
ed811d7b04 Fixed compilation and run warnings/errors with MSVC 2005
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@315 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-10 12:57:12 +00:00
Benny Prijono
6803faa8f5 Fixed pjsip-perf for 0.5.4
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@309 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-07 16:02:26 +00:00
Benny Prijono
282b802253 Fixed warnings in Linux build
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@301 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-06 15:21:56 +00:00
Benny Prijono
ad707dcc7e Show call disconnect reason
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@286 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-05 11:54:56 +00:00
Benny Prijono
08e0d06358 Major modification in conference bridge to allow ports with different ptime and sampling rate. Also introduced sampling rate converter
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@277 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-04 14:52:44 +00:00
Benny Prijono
d2e84d50be Fixed compilation warnings and errors in pjsip-perf
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@271 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-02 21:26:09 +00:00
Benny Prijono
3cbcca61ea Added IM and composition indication, and tested
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@269 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-02 21:19:55 +00:00
Benny Prijono
dce7b11e51 Found out what has been causing the slow performance.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@262 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-01 23:37:06 +00:00
Benny Prijono
3cb3970fc5 Added logging in pjsip-perf
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@259 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-01 22:26:51 +00:00
Benny Prijono
858b2fe92b Handle failure to open log file
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@258 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-01 22:26:38 +00:00
Benny Prijono
bb1e6e3034 Trying to find out why CPU is idle while it should be working hard!!
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@257 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-01 20:47:39 +00:00
Benny Prijono
f090a8340d Option to dump summary/detail
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@256 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-01 20:47:16 +00:00
Benny Prijono
8df5b021c5 Added pjsip-apps top level projects
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@254 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-01 19:31:18 +00:00