Commit Graph

2125 Commits

Author SHA1 Message Date
Nanang Izzuddin ee340b36d9 Fixed G.722 codec that is suppossed to work with 14 bits PCM for its input & output (thanks Olle Frimanson for the report).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2342 74dad513-b988-da41-8d7b-12977e46ad98
2008-10-06 18:42:13 +00:00
Benny Prijono 0789519b6a Ticket #655: Compilation error on Linux when PJ_HAS_POOL_ALT_API is used (thanks Gang Liu for the report)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2341 74dad513-b988-da41-8d7b-12977e46ad98
2008-10-02 22:13:01 +00:00
Benny Prijono bf7d2225d9 Ticket #654: Error when falling back to secondary TURN server (thanks Nicolas Fauvel for the report)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2340 74dad513-b988-da41-8d7b-12977e46ad98
2008-10-02 17:54:40 +00:00
Benny Prijono ec575c5624 Ticket #653: Add WinCE workspace/project files for pjsip unit tests (thanks Seth Hinze for the contribution)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2339 74dad513-b988-da41-8d7b-12977e46ad98
2008-10-01 10:00:37 +00:00
Benny Prijono 05f924e423 Ticket #652: Add WinCE workspace/project files for pjnath unit tests (thanks Seth Hinze for the contribution)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2338 74dad513-b988-da41-8d7b-12977e46ad98
2008-10-01 09:58:42 +00:00
Benny Prijono 179ab74df4 Ticket #651: Added WinCE workspace/project files for pjlib-util unit tests (thanks Seth Hinze for the contribution)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2337 74dad513-b988-da41-8d7b-12977e46ad98
2008-10-01 09:56:09 +00:00
Benny Prijono 1b69e24d05 Ticket #650: Unit test failure in the timestamp test on very fast CPU (thanks Seth Hinze for the patch)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2336 74dad513-b988-da41-8d7b-12977e46ad98
2008-10-01 09:02:12 +00:00
Benny Prijono b3582cf6cf Ticket #649: Build error in wav_writer.c in big endian systems (thanks Seth Hinze for the patch)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2335 74dad513-b988-da41-8d7b-12977e46ad98
2008-10-01 08:45:33 +00:00
Benny Prijono 1b916e8670 Changed version to 1.0-rc4-trunk
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2334 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-28 10:59:55 +00:00
Benny Prijono 7580d3f242 Changed version to 1.0-rc4
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2332 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-28 09:27:33 +00:00
Benny Prijono e27461311d Fixed ticket #644 and 648 again (hopefully once and for all): build error on VS6 with built-in SDK and on PocketPC 2003 SDK since they don't have multicast related socket options
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2331 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-27 13:16:35 +00:00
Nanang Izzuddin b79ff937ff Fixed previous accidental check in r2329.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2330 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-27 12:50:12 +00:00
Nanang Izzuddin fa144d5200 Fixed assertion in echo suppressor when recording and playing level is equal.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2329 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-27 11:53:39 +00:00
Nanang Izzuddin 741eb2e58b Fixed possible assertion by codec when stereo/multichannel codec is used and stream is about to send keep-NAT-alive packet (thanks Bill Gardner for the patch).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2328 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-27 11:50:17 +00:00
Benny Prijono 513d135f98 Fixed ticket #644 and #648: incorrect muticast related socket constant names, missing ws2tcpip.h include causing build error on Mingw, and error building on Visual Studio 6 due to PJ_SOCK_HAS_GETADDRINFO being declared accidentally.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2327 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-27 09:35:34 +00:00
Benny Prijono de6f31c45b Missing PJ_DECL in pjsip_tx_data_create() declaration (thanks Tomáš Valenta for the report)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2326 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-27 08:55:16 +00:00
Benny Prijono 247921bdf1 More ticket #643: added setting to disable this ticket (by setting allow_contact_rewrite to 2)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2325 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-26 22:06:11 +00:00
Benny Prijono 7f5111e6e5 Changed version to 1.0-rc3-trunk
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2324 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-25 15:28:42 +00:00
Nanang Izzuddin 013014df61 Ticket #638: Fixed assertion caused by prefetch < min_prefetch (thanks Michael Bradley Jr for the reports).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2321 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-25 11:46:06 +00:00
Benny Prijono 800724d550 Changed version to 1.0-rc3
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2319 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-25 11:21:55 +00:00
Nanang Izzuddin d263f9d1aa Ticket #638: Cleaned up compilation warning in jbuf.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2318 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-25 11:04:49 +00:00
Nanang Izzuddin 883d8de2a0 Ticket #638: Reenable prefetch buffering via initial prefetch setting (set 0 to disable, otherwise to enable).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2317 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-24 17:27:46 +00:00
Benny Prijono 7f630433a1 Ticket #643: Do not try to re-register with a new Contact when the REGISTER response contains private IP address
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2316 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-24 16:52:41 +00:00
Benny Prijono 3c5e28b2f6 Ticket #635: Disconnect the other call leg when multiple 2xx/OK responses to INVITE are received due to forking
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2315 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-24 10:10:15 +00:00
Benny Prijono 189195de83 Fixed bug in pjsip_auth_clt_clone(), the cached_auth list is not initialized in the copy
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2314 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-24 09:51:51 +00:00
Benny Prijono 63bfe7ad00 Ticket #642: Discontinuous tone generation (thanks Olle Frimanson for the report)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2313 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-24 09:38:55 +00:00
Nanang Izzuddin 51f22530a1 Ticket #547: Added DirectX include path from Windows environment settings to libportaudio & pjmedia VS8 build projects.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2312 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-23 20:39:13 +00:00
Nanang Izzuddin 7c0d1b7991 Updated delay buffer to perform shrinking only in the PUT operation.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2311 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-23 18:48:56 +00:00
Nanang Izzuddin 19551d6ce7 Ticket #638:
- Jitter buffer shrinking is done based on max_hist_level (recent maximum burst level).
 - Updated jitter buffer to maintain max_hist_level, instead of resetting it each time current level is updated.
 - Updated default jitter buffer size in stream.c from 360ms to 500ms to accomodate more burst level.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2310 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-23 16:55:21 +00:00
Nanang Izzuddin d704a8b6b8 Fixed bug missing reinit med_orig when reinit pjsua media transports.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2309 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-23 16:34:07 +00:00
Benny Prijono d4787668eb More ticket #622: some more fixes to ioqueue_epoll, it passes pjlib-test now (thanks Simon Chen for the patch!)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2308 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-23 09:40:11 +00:00
Benny Prijono d61e532783 More ticket #639: fixed warning with gcc about comparison always true
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2307 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-23 09:11:20 +00:00
Benny Prijono e6da48a8d8 Ticket #641: Assertion error when late 200/OK is received after call has been disconnected (thanks Dan Åberg for the report)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2306 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-22 14:36:00 +00:00
Benny Prijono 338153e2b3 More ticket #619: disable fade-in and fade-out if the tone off duration is zero. We assume that application wants to play continuous tone in this case, and the fade in/out feature will cause click noise to be generated
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2305 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-22 09:29:50 +00:00
Benny Prijono 59e9e95ad4 Ticket #640: Crash when receiving ACK with SDP after BYE has been received (thanks Amit Sharma for the report)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2304 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-21 22:55:43 +00:00
Benny Prijono 3c97d9b353 Ticket #639: added torture tests for handling non-ASCII UTF-8 characters in SIP message elements
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2303 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-21 22:01:46 +00:00
Benny Prijono 54f938956f Ticket #639: Assertion in <ctype.h> functions with Visual Studio 2005 when handling non-ASCII characters
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2302 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-21 21:11:49 +00:00
Benny Prijono 91d06b6179 Ticket #611: Configuration option to force the route URI to use loose routing
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2301 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-20 12:16:56 +00:00
Benny Prijono 9489e7a098 Couple of fixes in ioqueue_epoll for ticket #622 (still not working)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2300 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-19 22:18:50 +00:00
Nanang Izzuddin b51845f64c Fixed pjmedia session bug in getting channel count from SDP for static payload.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2299 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-19 21:18:23 +00:00
Nanang Izzuddin b8c1ebe67a Added missed patch in enabling G.722 PLC: PLC should be enabled in default attribute setting.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2298 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-19 21:17:30 +00:00
Nanang Izzuddin 49a979b54e Enabled G.722 PLC.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2297 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-19 21:10:14 +00:00
Nanang Izzuddin 47d87a677a More ticket #633: Fixed DirectSound implementation to avoid playback buffer read & write cursor race.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2296 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-19 13:28:40 +00:00
Benny Prijono 99eec385bc Ticket #622: initial integration of ioqueue_epoll patch, updated the configure script
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2295 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-18 21:22:16 +00:00
Benny Prijono 6ba5f59841 More ticket #619: changed default Cordic loop from 8 to 10 to gain more accuracy, and updated tonegen.c with the results from ARM9 tests
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2294 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-18 14:11:29 +00:00
Nanang Izzuddin 4494a48287 Ticket #631:
- Changed rem_rtp/rtcp_addr to src_rtp/rtcp_addr in media transport info
 - Updated behaviour of media transport get info, when the transport hasn't receive any packet src_rtp/rtcp_addr will not be set.
 - Fixed bug in pjsua_call_dump that rem_addr was unset.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2293 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-18 12:58:33 +00:00
Benny Prijono 8de925bd4e Large reorganization of the tonegen for ticket #619:
- Deprecate the automatic selection of algorithm
 - Introduced various constants for tonegen backends
 - Allow user to specify/override the algorithm by setting
 - Fix the floating-point approximation backend



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2292 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-18 11:14:21 +00:00
Nanang Izzuddin ff2b11076b Ticket #631:
- Added new fields in media transport info: remote address originating RTP & RTCP.
 - Updated transport UDP & ICE to fill above fields in getting transport info.
 - Updated pjsua call dump, instead of showing remote RTP address from SDP, it will show address of RTP originator.




git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2291 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-17 15:32:06 +00:00
Nanang Izzuddin 276402c7bd Ticket #630: Added Win32 MME sound device wrapper (thanks Seth Hinze for the patch).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2290 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-17 14:49:21 +00:00
Nanang Izzuddin 57dd8e0e0b Ticket #636: Fixed linux compilation issue when autoconf is not used (thanks Seth Hinze for the patch).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2289 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-17 12:55:26 +00:00