Commit Graph

828 Commits

Author SHA1 Message Date
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 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 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
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
Nanang Izzuddin 78e259118f Fixed bug in copying buffer and updated post process of buffer shrinking
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1982 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-05 06:17:38 +00:00
Nanang Izzuddin 7ca463c72f Fixed C & C++ cross linked problem and missing newly added libsrtp.lib in symbian_ua_gui.mmp
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1980 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-03 10:54:12 +00:00
Nanang Izzuddin d42429715b Fixed uninitialized output size before calling G.722 encoder
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1977 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-02 14:16:36 +00:00
Nanang Izzuddin 700e838279 Updated delaybuf to learn burst level in realtime instead of only in the beginning, this can optimize the latency and increase adaptivity
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1972 74dad513-b988-da41-8d7b-12977e46ad98
2008-05-30 11:30:24 +00:00
Nanang Izzuddin 1ec45bf00a Added another WSOLA implementation, PJMEDIA_WSOLA_IMP_WSOLA_LITE, this is used by small devices by default (replacing PJMEDIA_WSOLA_IMP_NULL)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1971 74dad513-b988-da41-8d7b-12977e46ad98
2008-05-30 11:24:37 +00:00
Benny Prijono b6242b732d Fixed bug in pjmedia_sdp_rtpmap_to_attr(): may overwrite past the buffer
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1967 74dad513-b988-da41-8d7b-12977e46ad98
2008-05-28 16:16:26 +00:00
Nanang Izzuddin 829ac0206e Changed build optimizations settings for Speex, pjmedia, and symbian_sound for Symbian. Speex/8000 now also runs on Symbian!
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1965 74dad513-b988-da41-8d7b-12977e46ad98
2008-05-27 00:24:26 +00:00
Benny Prijono dfd3052d8e Changed build optimization settings for Speex and pjmedia for eVC4/Windows Mobile. Speex/8000 now runs on Windows Mobile!
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1964 74dad513-b988-da41-8d7b-12977e46ad98
2008-05-23 12:31:55 +00:00
Nanang Izzuddin 2d4ee7d379 More on ticket #535: updated files using and related to math.h
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1961 74dad513-b988-da41-8d7b-12977e46ad98
2008-05-17 14:54:18 +00:00
Nanang Izzuddin 3fd3af9a31 Resample port get frame may cause buffer overflow when downport returns non-audio frame
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1955 74dad513-b988-da41-8d7b-12977e46ad98
2008-05-13 19:24:45 +00:00
Nanang Izzuddin a5538abddc Ticket #527: Commited ticket527.2.patch
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1950 74dad513-b988-da41-8d7b-12977e46ad98
2008-05-07 15:30:34 +00:00
Nanang Izzuddin 5d070f8ec4 More ticket #513:
- Added RTCP XR features on stream: configurable RTCP XR sending interval, third-party destination for RTCP XR, and sending last RTCP XR packet when stream destroyed.
 - Updated end system delay of RTCP XR: sound device latency estimated based on sound device implementation. 




git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1945 74dad513-b988-da41-8d7b-12977e46ad98
2008-05-02 15:01:10 +00:00
Nanang Izzuddin db9da77fa2 Ticket #528: committed ticket528.patch
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1944 74dad513-b988-da41-8d7b-12977e46ad98
2008-05-02 14:50:07 +00:00
Nanang Izzuddin 90f11cbd2f More on ticket #513:
- Added RTCP XR print reports to streamutil.c
 - Added new API pjmedia_stream_get_stat_xr()
 - Added field rtcp_xr_enabled to stream info structure
 - Swapped the wrong RTCP XR statistic storage (encoding direction should be stored in TX, decoding direction in RX, it was the opposite)




git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1943 74dad513-b988-da41-8d7b-12977e46ad98
2008-04-29 17:15:41 +00:00
Benny Prijono e8b604daad Ticket #513: Support for RTCP XR (initial patch)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1942 74dad513-b988-da41-8d7b-12977e46ad98
2008-04-28 18:05:49 +00:00
Benny Prijono 6780ae0251 More ticket #497: added configuration to disable WSOLA and set default to disabled on WinCE and Symbian
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1941 74dad513-b988-da41-8d7b-12977e46ad98
2008-04-23 16:07:37 +00:00
Benny Prijono 6b7834ba10 More ticket #420: creation of IPv6 media streams (tested on SIPit22)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1935 74dad513-b988-da41-8d7b-12977e46ad98
2008-04-22 16:11:07 +00:00
Benny Prijono e7d5a100d6 More ticket #526: committed ticket526.2.patch
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1934 74dad513-b988-da41-8d7b-12977e46ad98
2008-04-19 00:20:38 +00:00
Benny Prijono 24a21856cb Fixed miscellaneous compile warnings/errors when built with C++ mode
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1929 74dad513-b988-da41-8d7b-12977e46ad98
2008-04-14 04:04:30 +00:00
Benny Prijono 97a575901e Ticket #526: Pjsua crash after wav player destroyed inside the eof callback (thanks Tanguy Floc'h)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1927 74dad513-b988-da41-8d7b-12977e46ad98
2008-04-14 02:51:05 +00:00
Benny Prijono 427d145669 More ticket #505: the jitter buffer only discard one packet at a time when optimizing the delay
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1922 74dad513-b988-da41-8d7b-12977e46ad98
2008-04-10 11:51:04 +00:00
Benny Prijono aeb187d600 More ticket #523: renamed some variable names for clarity
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1919 74dad513-b988-da41-8d7b-12977e46ad98
2008-04-10 10:15:05 +00:00
Benny Prijono 88efec59b2 Ticket #523: Handle incomplete audio frame from sound device (e.g. OSS)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1918 74dad513-b988-da41-8d7b-12977e46ad98
2008-04-10 09:53:16 +00:00
Benny Prijono f161655344 More ticket #504: added missing new files!
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1901 74dad513-b988-da41-8d7b-12977e46ad98
2008-03-30 08:58:58 +00:00
Benny Prijono 03c5c69b48 Ticket #517: Invalid argument error when binding media transport on MacOS X
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1899 74dad513-b988-da41-8d7b-12977e46ad98
2008-03-29 12:40:14 +00:00
Benny Prijono 7d60d052eb Ticket #504: final installment to support stereo audio all the way in PJMEDIA. Please see tickiet #504 for more info
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1898 74dad513-b988-da41-8d7b-12977e46ad98
2008-03-29 12:24:20 +00:00
Benny Prijono a171e9edbe Fixed bug in automatic RTCP address calculation causing assertion failure in Symbian with ICE transport
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1897 74dad513-b988-da41-8d7b-12977e46ad98
2008-03-28 14:06:37 +00:00
Benny Prijono cf5c06d5d0 Updated pjmedia_test with the latest jitter buffer API
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1895 74dad513-b988-da41-8d7b-12977e46ad98
2008-03-26 16:18:17 +00:00
Benny Prijono 70119f6363 Ticket #516: Assertion in sound device when headset is plugged/unplugged in MacOS X (thanks Alexei Kuznetsov)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1893 74dad513-b988-da41-8d7b-12977e46ad98
2008-03-25 17:05:59 +00:00
Benny Prijono 096fadb50d Ticket #505: optimizing the jitter buffer delay
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1887 74dad513-b988-da41-8d7b-12977e46ad98
2008-03-21 13:47:23 +00:00
Benny Prijono 522e5e14a5 Fixed minor warning about unused variable in transport_srtp.c
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1881 74dad513-b988-da41-8d7b-12977e46ad98
2008-03-20 18:34:01 +00:00
Benny Prijono 5e248392d7 More ticket #497: division by zero in wsola when min_extra is set to zero (the default value)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1875 74dad513-b988-da41-8d7b-12977e46ad98
2008-03-19 14:35:43 +00:00
Benny Prijono 734fc2d550 More ticket #479: bug in pjmedia_transport_get_info(), the info should be initialized by caller
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1873 74dad513-b988-da41-8d7b-12977e46ad98
2008-03-17 16:05:35 +00:00
Benny Prijono f9f17b13e6 More ticket #507: fixed the bug introduced in r1871 about operator precedence
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1872 74dad513-b988-da41-8d7b-12977e46ad98
2008-03-17 15:58:32 +00:00
Benny Prijono 71f657df1d More ticket #507: updated GNU build system with the G.722 codec and fixed minor warning about operator precedence
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1871 74dad513-b988-da41-8d7b-12977e46ad98
2008-03-17 14:24:21 +00:00
Benny Prijono 7ffd7752fd Ticket #507: committed and tested g722 patch on Windows
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1870 74dad513-b988-da41-8d7b-12977e46ad98
2008-03-17 14:07:53 +00:00
Benny Prijono 6e7c5add56 More ticket #504: buffer overflow in splitcomb when handling stereo audio
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1866 74dad513-b988-da41-8d7b-12977e46ad98
2008-03-13 10:15:16 +00:00
Benny Prijono e11c581911 Ticket #504: fixed stream.c for stereo codecs
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1861 74dad513-b988-da41-8d7b-12977e46ad98
2008-03-11 21:47:04 +00:00
Benny Prijono e1a5a852c0 Ticket #479: allow media transport framework to return transport specific info (for example, to know whether SRTP is enabled)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1860 74dad513-b988-da41-8d7b-12977e46ad98
2008-03-11 21:38:05 +00:00
Benny Prijono c12bc10c04 Ticket #494: Configuration option to use high quality tone generation
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1859 74dad513-b988-da41-8d7b-12977e46ad98
2008-03-11 20:50:46 +00:00
Benny Prijono 8cc996a7e4 Ticket #504: assertion in sound device and recfile sample when using stereo
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1848 74dad513-b988-da41-8d7b-12977e46ad98
2008-03-07 14:32:29 +00:00
Benny Prijono a99539c2a6 More ticket #438: wrong param passed to shrink_buffer() in set_max_cnt(), should be (buf_cnt - new_max_cnt), instead of (old_max_cnt - new_max_cnt)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1847 74dad513-b988-da41-8d7b-12977e46ad98
2008-03-05 17:41:42 +00:00
Benny Prijono 00d15a5beb Ticket #502: New packet lost concealment (PLC) implementation and enable PLC on G711 and GSM codec
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1846 74dad513-b988-da41-8d7b-12977e46ad98
2008-03-04 16:23:42 +00:00
Benny Prijono c97d686570 More ticket #497: bug on pjmedia_wsola_save() when extra samples exceed samples_per_frame
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1845 74dad513-b988-da41-8d7b-12977e46ad98
2008-03-04 16:13:01 +00:00
Benny Prijono 98b6df8d52 More ticket #438: improve docs, added channel_count in wsola, etc.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1844 74dad513-b988-da41-8d7b-12977e46ad98
2008-03-04 15:37:45 +00:00
Benny Prijono d34477c8d1 Ticket #501: Set master port worker thread priority to highest by default
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1843 74dad513-b988-da41-8d7b-12977e46ad98
2008-03-04 15:31:13 +00:00
Benny Prijono f6654c5230 Ticket #438: added delaybuf in splitcomb. Please see the checkin comment in ticket #438 for the details
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1840 74dad513-b988-da41-8d7b-12977e46ad98
2008-03-03 14:20:41 +00:00
Benny Prijono 93be97605f Ticket #499: NULL frame transmission in conference bridge is not clocked at the right interval
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1839 74dad513-b988-da41-8d7b-12977e46ad98
2008-03-03 13:25:17 +00:00
Benny Prijono e8ec158884 Ticket #497: changed clock rate variable in WSOLA from uint16 to uint32 to handle higher clock rate
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1838 74dad513-b988-da41-8d7b-12977e46ad98
2008-03-03 13:19:20 +00:00
Benny Prijono 161ae3a3fd Disable overflow/underflow test
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1836 74dad513-b988-da41-8d7b-12977e46ad98
2008-03-01 21:37:57 +00:00
Benny Prijono 65afd885c9 More ticket #438: changed API call to delay_buf_create()
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1835 74dad513-b988-da41-8d7b-12977e46ad98
2008-02-29 19:29:16 +00:00
Benny Prijono 07f6cc7920 Added checking in delaybuf for buffer empty before calling shrink_buffer()
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1834 74dad513-b988-da41-8d7b-12977e46ad98
2008-02-29 18:00:34 +00:00
Benny Prijono 5dbd4fce62 Ticket #438: Workaround for frame bursts from audio devices: added wsola in delaybuf, and put delaybuf in the bridge
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1833 74dad513-b988-da41-8d7b-12977e46ad98
2008-02-29 17:19:42 +00:00
Benny Prijono 5887d024d1 Put wsola_test.c in pjmedia test
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1832 74dad513-b988-da41-8d7b-12977e46ad98
2008-02-29 12:05:33 +00:00
Benny Prijono 031775ce3f Added pjmedia_wsola_reset()
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1831 74dad513-b988-da41-8d7b-12977e46ad98
2008-02-29 12:00:46 +00:00
Benny Prijono 4c8475dacc Fixed bug in wsola when discarding frame in non-contiguous buffer
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1829 74dad513-b988-da41-8d7b-12977e46ad98
2008-02-28 23:39:38 +00:00
Benny Prijono c8f43b3d30 Modify WSOLA discard to support erasing frame from non-contiguous buffer
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1827 74dad513-b988-da41-8d7b-12977e46ad98
2008-02-28 20:22:16 +00:00
Benny Prijono 713ccabccc A little bit of optimization in WSOLA
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1826 74dad513-b988-da41-8d7b-12977e46ad98
2008-02-28 16:28:41 +00:00
Benny Prijono 800521c759 Ticket #496: Crash on sound port when only player is opened and delaybuf enabled
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1825 74dad513-b988-da41-8d7b-12977e46ad98
2008-02-28 14:16:43 +00:00
Benny Prijono 4727a9a6de Ticket #497: WSOLA implementation
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1824 74dad513-b988-da41-8d7b-12977e46ad98
2008-02-28 14:08:59 +00:00
Benny Prijono 7df2a15847 Ticket #486: Handle G.722 wong clock rate bug and other codec with inconsistent clock rate
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1813 74dad513-b988-da41-8d7b-12977e46ad98
2008-02-21 16:46:34 +00:00
Benny Prijono 2dbed82495 Ticket #467: fixed issues with RTP/AVP vs RTP/SAVP negotiation
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1810 74dad513-b988-da41-8d7b-12977e46ad98
2008-02-21 10:08:27 +00:00
Benny Prijono d72d68675c Ticket #487: Crash occured when stream port has no transmitter on call using ILBC with different ptime
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1809 74dad513-b988-da41-8d7b-12977e46ad98
2008-02-21 09:00:36 +00:00
Benny Prijono c5b6de1dc9 Ticket #468: Added support for non looping playback in memory player
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1808 74dad513-b988-da41-8d7b-12977e46ad98
2008-02-21 08:51:37 +00:00
Benny Prijono f430e41536 Allow receiving SDP with lines terminated with LF instead of CRLF (thanks Juri Glass)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1805 74dad513-b988-da41-8d7b-12977e46ad98
2008-02-18 13:50:55 +00:00
Benny Prijono a1179ca4b6 Ticket #480: PJSIP rejects incoming call with m=image in the offer (thanks Thiago)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1801 74dad513-b988-da41-8d7b-12977e46ad98
2008-02-15 17:33:15 +00:00
Benny Prijono 45930a5de6 Ticket #478: Handle duplicated/misordered incoming DTMF packets
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1798 74dad513-b988-da41-8d7b-12977e46ad98
2008-02-14 19:45:47 +00:00
Benny Prijono e3994fb07f More ticket #469: bail out from on_rx_rtp/rtcp loop if recvfrom returns PJ_ECANCELLED. This errno is returned when the key is mark as closing, which could happen when user closes the key inside the callback
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1794 74dad513-b988-da41-8d7b-12977e46ad98
2008-02-14 14:14:57 +00:00
Benny Prijono 91476bfb33 Handle short files in WAV player
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1791 74dad513-b988-da41-8d7b-12977e46ad98
2008-02-14 09:57:05 +00:00
Benny Prijono 69036b7773 Ticket #460: Concurrency problem when destroying stream (thanks Michael Broughton)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1790 74dad513-b988-da41-8d7b-12977e46ad98
2008-02-13 16:59:29 +00:00
Benny Prijono 378484d994 Removed const on on_rx_rtp() and on_rx_rtcp() functions arguments in stream.c and srtp.c (const was removed in r1763)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1780 74dad513-b988-da41-8d7b-12977e46ad98
2008-02-07 11:53:47 +00:00
Benny Prijono 527a236a59 More ticket #61: removed const from rtp and rtcp callback function declaration to allow in-place packet modification
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1763 74dad513-b988-da41-8d7b-12977e46ad98
2008-02-01 14:47:31 +00:00
Benny Prijono 4085b1f2cb Added media transport diagram for documentation
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1762 74dad513-b988-da41-8d7b-12977e46ad98
2008-01-31 21:26:44 +00:00
Benny Prijono 6665bfc2f9 Ticket #464: jitter buffer should return frame length information
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1761 74dad513-b988-da41-8d7b-12977e46ad98
2008-01-31 08:11:30 +00:00
Benny Prijono 480287117a Ticket #61: undo r1759 and replace it with other patches to fix unable to accept RTP/AVP offer with a=crypto attribute when use_sdp is set to zero. Also minor fix to streamutil
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1760 74dad513-b988-da41-8d7b-12977e46ad98
2008-01-30 09:47:57 +00:00
Benny Prijono af1f56c458 Ticket #61: bug, unable to accept RTP/AVP with crypto attribute when use_srtp is set to zero
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1759 74dad513-b988-da41-8d7b-12977e46ad98
2008-01-29 17:40:00 +00:00
Benny Prijono a7b376bc7c Fixed doxygen comments everywhere
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1748 74dad513-b988-da41-8d7b-12977e46ad98
2008-01-25 16:06:33 +00:00
Benny Prijono dc72f4c898 Ticket #459: pjmedia_clock_create() should not create thread when PJMEDIA_CLOCK_NO_ASYNC is given (thanks Alberto Takeshi Mayama)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1747 74dad513-b988-da41-8d7b-12977e46ad98
2008-01-25 12:01:03 +00:00
Benny Prijono 04218f322d More ticket #61: fix potential error when looking up SRTP error string, and improve logging information in SRTP transport
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1739 74dad513-b988-da41-8d7b-12977e46ad98
2008-01-24 15:29:50 +00:00
Benny Prijono 389a769670 More ticket #61: crashed on SRTP error string lookup
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1737 74dad513-b988-da41-8d7b-12977e46ad98
2008-01-24 15:18:42 +00:00
Benny Prijono 2c423755de Ticket #61: added Windows Mobile/WinCE eVC project for SRTP and libsrtp
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1736 74dad513-b988-da41-8d7b-12977e46ad98
2008-01-24 10:23:43 +00:00
Benny Prijono d817965a91 Ticket #61: Implement SRTP support in PJMEDIA and PJSUA-LIB, and updated applications because of the changes. This is a major modification back ported from SRTP branch. See ticket #61 for changelog detail of this commit
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1735 74dad513-b988-da41-8d7b-12977e46ad98
2008-01-23 20:39:07 +00:00
Benny Prijono 7544a29818 Handle SDP offer containing application as the media type
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1734 74dad513-b988-da41-8d7b-12977e46ad98
2008-01-23 20:34:11 +00:00
Benny Prijono c05d74c966 Added information about delaybuf result on MacOS X 10.5
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1716 74dad513-b988-da41-8d7b-12977e46ad98
2008-01-19 12:22:40 +00:00
Benny Prijono 684ab41b57 More work on ticket #438: Workaround for frame bursts from audio devices. See the ticket for more information
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1715 74dad513-b988-da41-8d7b-12977e46ad98
2008-01-19 09:39:52 +00:00
Benny Prijono cf53baff1a Related to ticket #449: fixed bug when rx volume adjustment caused static noise (thanks Norman Franke)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1692 74dad513-b988-da41-8d7b-12977e46ad98
2008-01-14 18:35:51 +00:00
Benny Prijono f14be2f803 Ticket #449: New conference mixing algorithm to replace multiplication with simple addition
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1691 74dad513-b988-da41-8d7b-12977e46ad98
2008-01-14 16:18:37 +00:00
Benny Prijono 61ab6ca6a7 Related to ticket #447: the WAV player should consistently return non-PJ_SUCCESS after it has returned one
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1690 74dad513-b988-da41-8d7b-12977e46ad98
2008-01-14 16:12:41 +00:00
Benny Prijono 79cbbf4f0c Ticket #448: PJSIP rejects incoming call with 415/Unsupported Media Type for INVITE containing video (thanks Alain Totouom)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1689 74dad513-b988-da41-8d7b-12977e46ad98
2008-01-14 13:30:33 +00:00
Benny Prijono 6b3ccdf592 Fixed Symbian include header case sensitivity (thanks Alfred E. Heggestad)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1688 74dad513-b988-da41-8d7b-12977e46ad98
2008-01-14 11:54:21 +00:00
Benny Prijono 39e232add0 Another fix for ticket #447: WAV player cuts last data from the WAV file
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1685 74dad513-b988-da41-8d7b-12977e46ad98
2008-01-12 15:30:15 +00:00
Benny Prijono b823dc55f6 Ticket #447: WAV player cuts last data from the WAV file
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1683 74dad513-b988-da41-8d7b-12977e46ad98
2008-01-12 14:13:49 +00:00
Benny Prijono c485dd881e Added new WAV player API: pjmedia_wav_player_get_len()
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1680 74dad513-b988-da41-8d7b-12977e46ad98
2008-01-12 11:11:58 +00:00
Benny Prijono 7a17068dea Fixed what looks like a bug in pjmedia's Speex decoder: decoder may return invalid PCM frame length
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1677 74dad513-b988-da41-8d7b-12977e46ad98
2008-01-11 08:52:18 +00:00
Benny Prijono 28973064ba Ticket #444: Bug in tone generator: can't play more digits (thanks Marian Dragomir)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1676 74dad513-b988-da41-8d7b-12977e46ad98
2008-01-11 08:22:57 +00:00
Benny Prijono 6e7e9544ff Fixed warnings with strict gcc
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1669 74dad513-b988-da41-8d7b-12977e46ad98
2008-01-08 16:03:18 +00:00
Benny Prijono 705c383a1a Ticket #439: don't call encode() if input is FRAME_TYPE_NONE
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1667 74dad513-b988-da41-8d7b-12977e46ad98
2008-01-07 18:33:25 +00:00
Benny Prijono cb82ec1ee6 Fixed compile error in sound port when delaybuf is enabled
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1665 74dad513-b988-da41-8d7b-12977e46ad98
2008-01-04 20:50:34 +00:00
Benny Prijono 45710a4968 Ticket #438 (Workaround for frame bursts from audio devices): added delay buffer implementation in pjmedia
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1664 74dad513-b988-da41-8d7b-12977e46ad98
2008-01-04 18:19:40 +00:00
Benny Prijono a044ff9dba Fixed timestamp bug in pasound.c: timestamp is shared by both playback and record and it was incorrectly incremented by both
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1662 74dad513-b988-da41-8d7b-12977e46ad98
2008-01-04 17:57:51 +00:00
Benny Prijono 7ec779c886 Related to ticket #437: reduce the stack usage of ICE media transport
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1656 74dad513-b988-da41-8d7b-12977e46ad98
2008-01-02 08:28:33 +00:00
Benny Prijono 5df8bb65f0 Ticket #435: Fixed and tested audio on Symbian device
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1641 74dad513-b988-da41-8d7b-12977e46ad98
2007-12-28 18:55:02 +00:00
Benny Prijono 91e567e7b1 Ticket #433: Failure in media negotiation when SDP contains two audio media lines (thanks Arie Velthoen)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1639 74dad513-b988-da41-8d7b-12977e46ad98
2007-12-28 08:51:58 +00:00
Benny Prijono d7828228db Handle the case when PortAudio returns negative sound device count in pasound.c
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1638 74dad513-b988-da41-8d7b-12977e46ad98
2007-12-27 07:18:35 +00:00
Benny Prijono 28bfcbc37c Fixed bug caused by ticket #427: frame type not properly initialized to PJMEDIA_FRAME_TYPE_AUDIO, causing audio frames to be dropped in the conference bridge (thanks P.J. Cast)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1637 74dad513-b988-da41-8d7b-12977e46ad98
2007-12-22 07:43:45 +00:00
Benny Prijono ed717aac2d Fixed errors in SDP: 1) scanner is not initialized before pjmedia_sdp_parse() is called, 2) added null termination in attribute for more robustness
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1635 74dad513-b988-da41-8d7b-12977e46ad98
2007-12-17 12:16:08 +00:00
Benny Prijono 0658afb554 Change maximum packet size to PJMEDIA_MAX_MTU in transport_udp.c
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1630 74dad513-b988-da41-8d7b-12977e46ad98
2007-12-14 16:26:21 +00:00
Benny Prijono 5fbcb69909 Ticket #428: Conference bridge does not update transmitter_cnt when port is removed
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1624 74dad513-b988-da41-8d7b-12977e46ad98
2007-12-09 12:21:51 +00:00
Benny Prijono e524710952 Ticket #427: conference bridge does not handle NONE frame (thanks Daniel Braun)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1623 74dad513-b988-da41-8d7b-12977e46ad98
2007-12-09 05:34:09 +00:00
Benny Prijono 5f55a1f49b Fixed run-time error on MacOS X (and possibly BSD based systems) when bind() is called with larger addrlen
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1621 74dad513-b988-da41-8d7b-12977e46ad98
2007-12-05 05:08:29 +00:00
Benny Prijono 5186eae58c Ticket #420: updated pjmedia SDP and media UDP transport to support IPv6
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1615 74dad513-b988-da41-8d7b-12977e46ad98
2007-12-03 14:38:25 +00:00
Benny Prijono 527921ec9b Updated media transport because of changes in pjlib API (due to IPv6/ticket #415)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1607 74dad513-b988-da41-8d7b-12977e46ad98
2007-12-01 09:12:09 +00:00
Benny Prijono 83c3897fa0 Ticket #417: added pjlib API to retrieve the native thread handle from pj_thread_t
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1589 74dad513-b988-da41-8d7b-12977e46ad98
2007-11-21 14:12:01 +00:00
Benny Prijono f7fc2d1f25 Parse ICE SDP attribute without case sensitivity, and ignore malformed candidate line for more robustness
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1559 74dad513-b988-da41-8d7b-12977e46ad98
2007-11-08 09:13:34 +00:00
Benny Prijono 8cdd275114 Parse ICE candidate attribute without case sensitive for more robustness
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1557 74dad513-b988-da41-8d7b-12977e46ad98
2007-11-07 13:03:11 +00:00
Benny Prijono 7d96853a1c Initial minimum jitter value was set to 2ms (thanks Roman Puls)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1528 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-30 15:37:58 +00:00
Benny Prijono 741cfb4777 More ticket #395: changed max default buffer length from 60ms to 100ms for added stability
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1512 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-21 09:40:19 +00:00
Benny Prijono f9090f7bb5 Added resample_libsamplerate.c into VS8 project
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1510 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-21 02:05:15 +00:00
Benny Prijono eb5874c7dc Fixed bug in pjmedia clock_thread.c: busy loop when clock thread is stopped
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1509 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-20 23:58:23 +00:00
Benny Prijono 899f9af649 Ticket #398: Initial support for Secret Rabbit Code (aka libsamplerate) sample rate conversionl library
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1493 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-12 05:24:32 +00:00
Benny Prijono 128b02b18d Ticket #395: Added configuration to control maximum PortAudio sound buffer latency, and change default sound backend back to WMME
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1486 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-07 07:42:04 +00:00
Benny Prijono 3303d0b2d0 Ticket #394: Reduce PJMEDIA_SOUND_BUFFER_COUNT default setting from 16 to 6 to reduce audio latency
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1483 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-06 17:52:30 +00:00
Benny Prijono 84ea0a22d6 Changed RTP initial sequence number to be within 15bit number, as required by RFC 3711 (SRTP)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1481 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-06 17:26:33 +00:00
Benny Prijono ee7276b6f5 Force svn eol-style for WinCE project files to CRLF
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1478 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-05 12:28:11 +00:00
Benny Prijono 814fbfb980 Ticket #388: Support for receiving RTP packet with no payload
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1468 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-01 12:29:02 +00:00
Benny Prijono 7fe9f47bc6 Removed assertion when transport is closed while stream is still attached
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1457 74dad513-b988-da41-8d7b-12977e46ad98
2007-09-30 10:56:34 +00:00
Benny Prijono 1c24539d2e Ticket #384: Prefer to use Direct Sound as the sound device backend on Windows
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1456 74dad513-b988-da41-8d7b-12977e46ad98
2007-09-28 13:12:15 +00:00
Benny Prijono 2501e1345a Ticket #382: Updated ICE from draft-ietf-mmusic-ice-14 to ice-18 specification, and also done some other tweaks as well
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1450 74dad513-b988-da41-8d7b-12977e46ad98
2007-09-24 19:46:41 +00:00
Benny Prijono a303c1172d Overridable media session pool size
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1448 74dad513-b988-da41-8d7b-12977e46ad98
2007-09-24 12:00:44 +00:00
Benny Prijono 7d1fa52551 Related to ticket #377: fixed bug in incoming RTCP RR handling because the RTCP packet structure has been changed in r1444
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1446 74dad513-b988-da41-8d7b-12977e46ad98
2007-09-20 12:38:47 +00:00
Benny Prijono fd156c9e58 Related to ticket #377: Fixed bug in RTCP fraction_lost calculation: the first RTCP packet incorrectly always shows positive fraction loss
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1445 74dad513-b988-da41-8d7b-12977e46ad98
2007-09-20 12:08:23 +00:00
Benny Prijono fe81cfac75 Ticket #377: Support for sending RTCP RR
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1444 74dad513-b988-da41-8d7b-12977e46ad98
2007-09-20 11:30:59 +00:00
Benny Prijono 11da9bcbf3 Implemented ticket #373: Packet loss simulation in PJMEDIA ICE transport
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1436 74dad513-b988-da41-8d7b-12977e46ad98
2007-09-15 08:55:00 +00:00
Benny Prijono 096c56c1a5 Ticket #370: Implemented callback notification to application when ICE negotiation fails (via on_call_media_state callback)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1435 74dad513-b988-da41-8d7b-12977e46ad98
2007-09-15 08:30:16 +00:00
Benny Prijono 96811bf878 Continuing ticket #2: initial test with Symbian sound device implementation. Callback works, but not in full duplex
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1428 74dad513-b988-da41-8d7b-12977e46ad98
2007-08-31 15:04:52 +00:00
Benny Prijono caa7f7a375 Fixed ticket #366: Crash in SDP negotiator when initial local SDP is not specified in pjmedia_sdp_neg_create_w_local_offer() (thanks Philippe Leuba)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1427 74dad513-b988-da41-8d7b-12977e46ad98
2007-08-31 12:35:56 +00:00
Benny Prijono 3e8732ccb1 Fixed bug in dsound.c: handled case when lpGUID is NULL (common for primary devices). Thanks Yejun Yang
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1422 74dad513-b988-da41-8d7b-12977e46ad98
2007-08-22 12:34:48 +00:00
Benny Prijono b13e6784e5 Fixed bug in dsound.c: device GUID refered to local variable
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1421 74dad513-b988-da41-8d7b-12977e46ad98
2007-08-17 09:49:06 +00:00
Benny Prijono 1f61a8f8af Ticket #354: continuing work to port the Symbian libraries to .DSO format
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1417 74dad513-b988-da41-8d7b-12977e46ad98
2007-08-16 10:11:44 +00:00
Benny Prijono 742ed7d4a8 Fixed ticket #363: Incorrect RTP marker and timestamp in DTMF event/RFC 2833 packet (thanks Pedro Sanchez)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1416 74dad513-b988-da41-8d7b-12977e46ad98
2007-08-13 11:53:56 +00:00
Benny Prijono 1a83734b6e Fixed ticket #361: Extraneous RTP packet with RFC 2833 DTMF events (thanks Pedro Sanchez)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1413 74dad513-b988-da41-8d7b-12977e46ad98
2007-08-02 15:41:46 +00:00
Benny Prijono 75b2fb29b4 Fixed ticket #357: Missing tonegen.[h/c] in Windows CE project file (thanks Paul Levin)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1408 74dad513-b988-da41-8d7b-12977e46ad98
2007-07-27 04:47:42 +00:00
Benny Prijono 8ab968fd0d Ticket #354: build PJLIB as dynamic libraries (.DSO) in Symbian
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1405 74dad513-b988-da41-8d7b-12977e46ad98
2007-07-20 08:08:30 +00:00
Benny Prijono dc1fe22da1 Ticket #342: added option to disable RTCP advertisement in SDP (and ICE) to reduce SIP message size
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1393 74dad513-b988-da41-8d7b-12977e46ad98
2007-06-26 10:13:13 +00:00
Benny Prijono 19586cab76 Ticket #342: added configuration to control whether SDP rtpmap should be included for static payload types (default still yes)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1391 74dad513-b988-da41-8d7b-12977e46ad98
2007-06-26 08:59:49 +00:00
Benny Prijono 77998ce708 More on ticket #399: a)send full offer on 200/OK response when re-INVITE does not have SDP, b) added on_create_offer() callback, c) handle some error cases
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1379 74dad513-b988-da41-8d7b-12977e46ad98
2007-06-20 10:03:46 +00:00
Benny Prijono 74eb0e2827 Ticket #335: Detect timestamp jump to avoid excessive CPU usage in master clock (thanks ChenHuan)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1378 74dad513-b988-da41-8d7b-12977e46ad98
2007-06-20 04:34:56 +00:00
Benny Prijono 12f5146008 Fixed ticket #317: Duplicated audio when playing WAV playlist (thanks Jagdish Jangid)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1339 74dad513-b988-da41-8d7b-12977e46ad98
2007-06-05 11:54:58 +00:00
Benny Prijono f95f22e49d Added PJ_ASSERT_RETURN in pjmedia_endpt to check worker_cnt (thanks Phil Torre)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1327 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-31 22:54:50 +00:00
Benny Prijono a1852547d4 Another fix for ticket #290: Bug in WAV player when frame size is larger than file buffer size (thanks Samuel Vinson)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1321 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-30 07:28:33 +00:00
Benny Prijono 591bb1618a Workaround for ticket #290: Bug in WAV player when frame size is larger than file buffer size (thanks Samuel Vinson)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1320 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-30 07:24:19 +00:00
Benny Prijono 50e5c53ec0 Ticket #298: New API to get the number of ports registered in conference bridge
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1301 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-25 06:13:55 +00:00
Benny Prijono 9d105f4d3a Fixed ticket #295: Uninitialized memory read reported by Purify in sound device
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1296 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-23 14:25:32 +00:00
Benny Prijono a0c8b5cef4 Symbian fixes to compile on GCCE (nested callbacks etc)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1269 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-12 15:03:23 +00:00
Benny Prijono 8334ea10e5 Fixed compilation error in gsm codec caused by last C++ changes
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1267 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-11 18:48:23 +00:00
Benny Prijono a1e6968900 HUGE changeset to make the rest of the libraries compile with C++ mode
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1266 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-11 15:14:34 +00:00
Benny Prijono 897f9f8889 Misc Symbian fixes, looks good
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1248 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-03 19:56:21 +00:00
Benny Prijono bdb25f3e4b Fixed crash in PortAudio's Pa_Util_DebugPrint (pa_debugprint.c - line 102)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1247 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-03 14:44:45 +00:00
Benny Prijono 5d54264893 Errno and memory size tweaking for Symbian
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1244 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-02 18:54:19 +00:00
Benny Prijono 5bb94225d0 Fixed nullsound in Symbian
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1243 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-02 13:19:33 +00:00
Benny Prijono ba5926a822 PJSUA-LIB was ported to Symbian and added simple Symbian app. Testing follows
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1242 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-02 11:29:37 +00:00
Benny Prijono 5feee2eb30 PJSDP port to Symbian
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1240 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-01 16:54:54 +00:00
Benny Prijono af09dc3ba9 Merged changes from the trunk
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/split-3rd-party@1210 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-22 12:48:30 +00:00
Benny Prijono d962784580 Fixed the legacy build system
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/split-3rd-party@1202 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-18 09:24:31 +00:00
Benny Prijono 25dfd1dfa1 Fixed build system for third_party
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/split-3rd-party@1201 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-17 16:16:01 +00:00
Benny Prijono 27c9872bfa Initial modification to Makefiles
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/split-3rd-party@1182 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-09 21:28:15 +00:00
Benny Prijono 4f093d2250 Updated EVC project files with new directory layout
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/split-3rd-party@1179 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-09 08:54:32 +00:00
Benny Prijono c95a0f0c33 Fixed all VS6 and VS8 projects with new third party projects layout
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/split-3rd-party@1177 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-09 07:06:08 +00:00
Benny Prijono e58cbe1256 Moved plc, resample, and mp3 to third_party
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/split-3rd-party@1175 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-07 20:45:55 +00:00
Benny Prijono 8758b9c290 mv resample.c resample_resample.c
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/split-3rd-party@1174 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-07 16:17:33 +00:00
Benny Prijono 562d8b6a9c Brought back the old resample.c
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/split-3rd-party@1173 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-07 16:09:58 +00:00
Benny Prijono aeb625ecd7 mv resample.c resample_speex.c
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/split-3rd-party@1172 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-07 16:07:37 +00:00
Benny Prijono 396156c1ac Changed resample to use speex (for now)
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/split-3rd-party@1171 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-07 16:01:41 +00:00
Benny Prijono 8f57dcac94 Moved resample to third_party directory
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/split-3rd-party@1170 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-07 14:53:15 +00:00
Benny Prijono f830c1be92 Moved ilbc to third_party directory
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/split-3rd-party@1169 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-07 12:47:34 +00:00
Benny Prijono 7f1c90f6b3 Split speex, portaudio, and gsm into third_party directory
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/split-3rd-party@1168 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-07 12:29:46 +00:00
Benny Prijono eb1e116a11 Deleting own copy of of speex and portaudio
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/split-3rd-party@1166 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-06 20:21:28 +00:00
Benny Prijono 90d620064d Fixed destination address error when sending RTCP in ICE media transport
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1162 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-06 12:13:27 +00:00
Benny Prijono dbf461580e ICE (work in progress): handle early check that is received before answer
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1152 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-05 11:32:47 +00:00
Benny Prijono bd876dc063 Fixed misc bugs with ICE: (1) moved STUN session from candidate to component since it causes STUN response to wrong session, and (2) keep-alive transaction timed-out when ICE is active
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1140 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-03 18:01:27 +00:00
Benny Prijono 2225d01c96 Updated project dependencies to pjnath
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1130 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-02 18:46:06 +00:00
Benny Prijono da675ceed4 ICE: work in progress
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1126 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-02 11:30:14 +00:00
Benny Prijono 919758f01f Added ICE-CONTROLLING and ICE-CONTROLLED STUN attribute types
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1114 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-29 21:54:21 +00:00
Benny Prijono dbce2cf75c Fixed pjnath build warnings/errors on Linux
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1112 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-28 16:24:00 +00:00
Benny Prijono a6bd758a9d Updated projects and Makefiles with the new pjnath library
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1111 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-28 15:49:48 +00:00
Benny Prijono fed7f4ce70 Fixed ticket #203: Fix error when telephone-event is set as the first format in SDP (thanks Chris Hamilton)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1109 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-27 11:01:45 +00:00
Benny Prijono fd70c9b526 ICE: added media index in pjmedia when handling SDP containing ICE candidates
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1108 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-27 11:00:38 +00:00
Benny Prijono 7e0d52c06e ICE: implement RTCP component and cancelling check in progress
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1106 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-26 13:25:07 +00:00
Benny Prijono b681a2f671 ICE (work in progress): use single socket for all candidates in component, and implemented IP interface enumeration on Win32
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1104 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-25 18:44:51 +00:00
Benny Prijono 28a3a12108 Omit SDP rtcp attribute when RTCP is not present in sockinfo
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1103 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-24 19:13:42 +00:00
Benny Prijono ec92134367 ICE (work in progress): implement error codes
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1101 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-24 13:00:30 +00:00
Benny Prijono c27512bd35 Added/updated VS8 projects for pjnath
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1100 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-23 20:12:45 +00:00
Benny Prijono f75ecebb3f ICE (work in progress): implemented server reflexive candidate
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1099 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-23 19:09:54 +00:00
Benny Prijono c97608ee7f ICE (work in progress): integration with PJSUA
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1098 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-23 16:34:20 +00:00
Benny Prijono 24cda7dea5 ICE (work in progress): implemented ICE media transport
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1097 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-23 00:42:47 +00:00
Benny Prijono b01897b505 Changed pj_sockaddr structure and added pjnath project for ICE/STUN stuffs
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1080 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-18 17:39:27 +00:00
Benny Prijono b514e55d5d Make it build cleanly on RedHat 7.3, gcc 2.96, linux-2.4.18 (also somebody reported build error on Slack 7.1
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1076 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-17 08:53:15 +00:00
Benny Prijono a38e78df75 Fixed ticket #183: Add flag in SDP negotiator to specify codec order preference (thanks Esbjorn Dominique)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1072 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-15 22:05:39 +00:00
Benny Prijono 9de76b7020 Fixed ticket #182: SDP negotiation failed when local does not specify telephone-event (thanks Esbjorn Dominique)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1070 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-15 21:15:16 +00:00
Benny Prijono d7036a133c Fixed ticket #175: GSM codec factory does not shutdown properly causing it to fail on next pjsua_init (thanks Binu K S)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1064 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-15 10:12:57 +00:00
Benny Prijono ca60a7e91a Fixed ticket #172: SDP media direction negotiation bug (thanks Phil Torre)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1058 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-13 13:10:27 +00:00
Benny Prijono 12e1daa4b9 Fixed ticket #164: Bug in pjmedia_stream_resume() not resuming the stream (thanks PurnaChandar and Carmine)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1048 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-07 11:26:00 +00:00
Benny Prijono bf3fa1c2ed Allow pjmedia_snd_init()/deinit() to be called more than once
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1041 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-05 13:13:22 +00:00
Benny Prijono c09a7230f4 Fixed ticket #142: Crash on Linux when USB sound card set as the first sound card (thanks Sergei Petrov)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1012 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-27 13:03:38 +00:00
Benny Prijono cb041825d8 Fixed ticket #140: Unable to play next tone after stop is called on tone generator (thanks Antonio F. Cano)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1009 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-27 00:12:26 +00:00
Benny Prijono 60116eb939 Fixed ticket #138: Potential memory overwrite in pjmedia session.c (thanks David Clark)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1006 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-26 22:48:12 +00:00
Benny Prijono 015cbfdfec Updated VS8 and EVC4 project with new STUN files and added SHA1, HMAC-MD5, and HMAC-SHA1 encryption
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1001 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-25 15:38:32 +00:00
Benny Prijono 58dbca3d1a Updated PJMEDIA_SOUND_BUFFER_COUNT doxygen documentation
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@978 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-19 14:40:46 +00:00
Benny Prijono a771a51a61 Ticket #110: HUGE HUGE changeset to replace all occurence of year 2006 with 2007 in copyright notice in all sources
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@974 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-19 01:13:53 +00:00
Benny Prijono a70438d0a9 Related to ticket #74: reduce default number of sound buffers from 32 to 16 to reduce audio delay
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@970 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-18 21:06:58 +00:00
Benny Prijono c7e257422e Fixed ticket #109: Audio saturation when level is applied to conference
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@963 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-17 19:52:45 +00:00
Benny Prijono 0eef2c7c47 Updated documentation and sample for media conference with regard to maximum value for audio level adjustment
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@961 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-17 19:38:21 +00:00
Benny Prijono ce1db766fe Tidy up the configure screen output, and fixed warning about uninitialized variable in PortAudio's ALSA (which causes error with gcc -Werror option)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@946 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-14 02:21:08 +00:00
Benny Prijono fd928fe9ee Fixed bug #94: wrong level adjustment calculation in conference bridge
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@937 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-08 18:01:53 +00:00
Benny Prijono 400e58c295 Fixed ticket #78: Noise in conference bridge because of upsampling and changes in audio level
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@931 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-04 17:04:33 +00:00
Benny Prijono 30e6651ab8 Fixed ticket #87: Conference bridge should transmit silence frame when level is zero and there is a transmitter
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@930 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-04 16:00:13 +00:00
Benny Prijono 7e7c0804d5 Fixed ticket #86: file not properly rewind-ed for the next iteration (thanks Alain Totouom again)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@919 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-31 21:09:04 +00:00
Benny Prijono 685116d621 Fixed ticket #86: crash in wav_playlist.c (thanks Alain Totouom for the report/fix)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@917 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-31 18:17:50 +00:00
Benny Prijono fe9bffd89e Ticket #82: fix link errors when codecs are disabled from autoconf script
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@909 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-27 17:44:13 +00:00
Benny Prijono e80cdf0b87 Updated doxygen documentation to version 0.5.10
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@905 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-25 01:38:03 +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 ac025827c6 Fixed ticket #76: bug in PortAudio when device is opened in non-native clock rate
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@902 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-23 20:48:59 +00:00
Benny Prijono 8963f239f5 More ticket #64 fix: allow whitespace after SDP media format
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@901 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-23 15:30:31 +00:00
Benny Prijono b7c7047ad3 Fixed ticket #75: allow empty SDP format list when media port is zero
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@900 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-23 15:22:29 +00:00
Benny Prijono 258f8bc28d Fixed ticket #74: unstable/stutter sound on Windows Mobile (thanks ChenHuang)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@899 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-23 06:12:28 +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 a66c331766 Implement ticket #67: added WAV playlist feature to PJMEDIA
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@895 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-21 23:12:40 +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 60f42c8a68 Ticket #64: more lenient SDP parsing (take only what we need and ignore anything else)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@889 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-20 18:35:17 +00:00
Benny Prijono c6c0ed0a17 Implement ticket #56: Periodically transmit RTP packet on silence, to maintain NAT binding etc.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@888 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-20 05:18:14 +00:00
Benny Prijono c357d64b0a Fixed ticket #70: Frame timestamp not propagated correctly in PJMEDIA
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@887 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-20 05:14:24 +00:00
Benny Prijono b5388cfa9c Just updated and improved the doxygen documentations all over the place
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@875 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-04 22:45:08 +00:00
Benny Prijono 6865a3fc7b Implement ticket #40: support for asymmetric encoding/decoding ptime (e.g. with iLBC when local and remote have different mode)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@874 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-30 02:46:57 +00:00
Benny Prijono acca8a95bf Fixed ticket #55: Invalid PortAudio error space (PA expects negative error codes)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@873 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-29 02:34:56 +00:00
Benny Prijono b8af0e8d98 Implement ticket #53: Disable silence detector during the first few seconds of RTP transmission to assist NAT traversal
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@868 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-26 21:56:38 +00:00
Benny Prijono b94a6ab284 Ticket #54: added ability to modify some codec parameters on the fly
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@867 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-26 21:18:11 +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 c31bd90591 Ticket #47: Packet length not set correctly when media transport fails with immediate error
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@857 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-22 15:31:35 +00:00
Benny Prijono 1151188af2 Fixed ticket #43: echo suppressor definition in echo_suppress.c doesn't match the declaraton in echo_common.c
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@855 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-15 11:57:33 +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 bbedfad0f5 Added media flow diagram (image) to pjmedia doc
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@848 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-08 19:53:39 +00:00
Benny Prijono 6c78ad91b3 Fixed ticket #37: invalid RTP packet should be counted in 'discarded' packet
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@846 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-07 08:21:13 +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 c53c6d706e Display actual sound device name in conference bridge port zero
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@833 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-27 09:54:03 +00:00
Benny Prijono 19361c83b8 Minor fix in UDP media: transport should silently ignore detach command when it's not attached
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@830 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-25 08:48:54 +00:00
Benny Prijono 4d0f313fd1 Fixed incorrect channel count number in the log message written when opening PortAudio recorder device (ticket #27)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@828 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-25 08:27:14 +00:00
Benny Prijono df6be7292a Fixed speex logging to use PJLIB's log, because a GUI application doesn't have stderr
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@827 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-24 16:33:27 +00:00
Benny Prijono d2990b9b96 Updated Speex to their latest SVN (1.2-beta). AEC seems
to work much better now and take less CPU, so I increased
default tail length in PJSUA to 800ms.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@823 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-23 10:19:46 +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 9aab47b1cd Increase splitcomb buffer count to 32
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@819 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-21 22:55:16 +00:00
Benny Prijono a80d1cdd9b Fixed bug caused by recent sound device ID convention change
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@814 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-21 12:31:11 +00:00
Benny Prijono 094d3adb7f Fixed sound device ID bug: application was unable to use device ID zero because this caused pasound.c to autodetect default device
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@812 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-21 08:41:00 +00:00
Benny Prijono ab082f38fe Fixed memory leaks bug in speex codec
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@807 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-19 20:28:34 +00:00
Benny Prijono a1c4f91d62 Added checking for clock rate mismatch in PJMEDIA master port.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@802 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-15 18:55:44 +00:00
Benny Prijono d61a8c8bd7 Fixed overflow bug in conference.c causing cracking noise (thanks Norman Franke)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@796 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-10 18:04:32 +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 ba065f87d3 Removed PA_NO_WMME macro in pjmedia debug build.
(Thanks Steve Xu)



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@793 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-06 13:20:19 +00:00
Benny Prijono 9a44fe2428 Fixed quality setting in MP3 writer (thanks Toni again)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@786 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-21 09:23:37 +00:00
Benny Prijono 8f31052c5a Changed the processing of mp3 _options in mp3 writer with regard to bit_rate and quality to comply with LAME, also changed the pjsua_recorder_create() parameter to allow specifying mp3 options in one of the parameter
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@785 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-20 11:08:49 +00:00
Benny Prijono b3cdb2bdb7 Support for MP3 recording for Win32 target. Also added "--rec-file" and "--auto-rec" option in pjsua to record voice conversion. The "--rec-file" option will record to either .WAV or .MP3 depending on the file extension.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@783 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-19 15:49:47 +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 d52174b247 Updated doxygen documentation for media transport (again)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@779 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-18 12:50:46 +00:00
Benny Prijono 43278aba11 Updated doxygen documentation in media transport
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@778 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-18 10:01:25 +00:00
Benny Prijono f43448fec6 Removed colon from SDP attribute value [thanks Olivier Gournet]
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@775 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-16 16:43:25 +00:00
Benny Prijono 52dfdee5a2 Fixed bug in media UDP transport: when recv() returns error (e.g. ICMP packet is received on Windows), transport will be stopped! [thanks Tomer]
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@773 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-16 12:53:48 +00:00
Benny Prijono ba25f6790a Fixed missing #include <pjmedia/errno.h> in nullsound.c
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@772 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-16 11:46:44 +00:00
Benny Prijono 39ae2daf5e Updated PortAudio to latest version for Mac
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@770 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-13 17:57:42 +00:00
Benny Prijono c8ee6ec8a1 Fixed bugs in pasound.c again, this time it is suspected that two input/output streams will be called by different threads, while pasound.c only expect it to be called by the same thread [thanks Norman Franke]
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@766 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-12 16:00:02 +00:00
Benny Prijono 64dcbd54e0 Changed pasound.c to open multiple streams when input/output are on different devices
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@762 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-11 14:57:18 +00:00
Benny Prijono 0dcc17fcc8 Fixed missing pj_snd_get_info() in nullsound.c
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@761 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-11 13:40:08 +00:00
Benny Prijono 525b391d84 Changed pasound.c to handle situation when NULL is passed as input/output buffer by PortAudio
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@760 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-10 18:33:55 +00:00
Benny Prijono 6d42358cb2 Changed pasound.c to get the default sound devices from the host API's default sound device rather than relying on device ID zero for the default device [thanks Norman Franke]
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@759 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-09 21:09:51 +00:00
Benny Prijono 43a7d4147a Fixed compilation error in tone generator when using fixed point.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@747 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-03 17:01:04 +00:00
Benny Prijono 85b4bf8d80 Added pjmedia_snd_stream_get_info() function.
** NOTE SOUND DEVICE IMPLEMENTORS: YOU'LL NEED TO IMPLEMENT THIS
   FUNCTION TOO ***




git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@744 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-27 22:49:55 +00:00
Benny Prijono f0c8d4b3b6 Updated doxygen documentation on sdp_neg.h
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@743 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-27 22:45:28 +00:00
Benny Prijono f6fd889119 Fixed misleading log message from the sound port about EC being suspended when actually there's no EC being used.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@740 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-25 17:56:56 +00:00
Benny Prijono 1d9b9a4996 Tests with other user agents revealed some bugs which
have been fixed below:

- some UAs sends "telephone-event/8000/1" instead of
  "telephone-event/8000", which caused SDP negotiation
  to fail. Fixed in sdp_neg.c.
- codec name was (incorrectly) compared case-sensitively,
  causing negotiation to fail. Fixed in sdp_neg.c.
- Also improved error reporting in SDP negotiation by 
  introducing few more error codes.
- Added Warning header in Not Acceptable response sent
  by pjsip_inv_session when SDP negotiation fails.
- PJSUA-LIB will try to negotiate both SDPs before
  sending 100 response.
- Fixed bug in iLBC codec when setting the mode to 30.

Also:
- Echo cancellation by default is disabled now since
  it doesn't seem to work. Further investigation needed.




git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@738 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-25 13:40:12 +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 dc752ca112 Fixed few bugs that seem to have been introduced by new dialog
locking algorithm:
- Fixed crash in PJSUA-API when initiating client subscription
- Fixed another crash in PJSUA-API when hanging-up call

Also fixed SDP negotiator:
- add a=inactive when rejecting media line 

Also increase maximum log size from 1500 to 2000 since some
SIP packet is quite large. A little bit of Warning: 
** THIS MAY AFFECT APPLICATION'S STACK USAGE **




git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@734 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-22 16:55:42 +00:00
Benny Prijono 9b9db6ba43 Fixed capture device enumeration bug in DirectSound, and changed SDP generation to put the IP address instead of hostname in the SDP origin field since hostname may not be setup correctly.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@732 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-21 09:06:08 +00:00
Benny Prijono 669643c95c Automatically suspend AEC when nothing is connected to the sound port in the bridge, and resume as soon as frames are transmitted.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@731 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-20 20:02:18 +00:00
Benny Prijono 5f5ae3c1ca Fixed race condition bug when initializing SDP parser on multi-processor machine
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@730 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-19 21:29:19 +00:00
Benny Prijono 44763e499a Support for reading non-canonical WAV file in WAV file player port.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@727 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-18 23:33:44 +00:00
Benny Prijono 140749e504 Now really checked in the new PLC software!
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@724 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-17 15:09:58 +00:00
Benny Prijono e0a6f7e2d1 Removed G.711 Annex I PLC from the source (because of possible licensing/patent infringement issues) and replace it with Steve Underwood's PLC implementation which is distributed under dual GPL/LGPL license.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@723 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-17 14:59:55 +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 5c7e10bced Added EOF callback and get_size() in pjmedia_mem_capture port.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@706 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-12 11:33:22 +00:00
Benny Prijono 5f6ef96f95 Fixed bug in media UDP transport: when transport is created with create(), no IP address is given. This caused get_info() to return 0.0.0.0 as the transport address.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@705 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-11 22:56:26 +00:00
Benny Prijono 88dac53480 Added EOF callback in memory playback port.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@704 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-11 19:55:41 +00:00
Benny Prijono 65b395f2a4 Fixed bug in resample port: put/get buffers are allocated with the wrong size (thanks Danya)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@703 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-11 18:51:54 +00:00
Benny Prijono c5b6dbf81f Fixed autoconf in mingw
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@699 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-10 16:33:48 +00:00
Benny Prijono b466e23e8f Fixed autoconf on MacOS X
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@698 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-10 08:53:59 +00:00
Benny Prijono 72b6104702 Added volume control to indivual tone enqueued to the tone generator.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@694 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-05 22:52:26 +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 97b87175bc Just updated doxygen documentation
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@690 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-24 14:25:14 +00:00
Benny Prijono c4c61d0216 Finishing autoconf work, also fixed compilation error in publish.h
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@689 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-20 20:47:34 +00:00
Benny Prijono 10af18eda2 Added pjsdp in pjmedia Makefile
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@670 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-10 14:26:15 +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 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 3842ec4a3f Change the silence suppressor to use the adaptive silence detector.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@655 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-06 14:15:47 +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 30bb160377 Fixed error in setting up tail length in sound_port
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@650 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-04 21:01:53 +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 bb9cc5f5d5 Removed the constness of the captured frame from pjmedia_snd_rec_cb specification (experimental, to support AEC since AEC needs to modify the buffer).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@645 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-04 11:06:05 +00:00
Benny Prijono c6186b6369 Experimental change in PJMEDIA dsound.c DirectSound backend: (1) Don't raise thread priority, and (2) when capturing multiple frames from the microphone, do the same in the playback direction.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@644 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-04 11:00:35 +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 c8e24a1e53 Added experimental AEC media port (aec_port.[hc]) based on Speex AEC in pjmedia and pjsua-lib.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@642 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-02 18:22:22 +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 c585988fb2 Really add the iLBC files into SVN now (duh!).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@638 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-31 15:25:14 +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 c5dfa170c7 Added pjmedia_port_info_init() to fill in pjmedia_port_info structure, avoiding manual initialization and thus improves consistency (and probably reduces size by a tiny bit). This involves modification in quite few places.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@633 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-29 11:14:47 +00:00
Benny Prijono 1b789eda49 - Added splitter/combiner port (splitcomb.c)
- Added function to initialize pjmedia_port_info (still unused though)



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@631 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-27 22:03:51 +00:00
Benny Prijono a68b9b2fbe Committed changes to MSVC workspace re: recent speex changes
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@630 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-26 17:29:07 +00:00
Benny Prijono dc498ca33c - Bring speex codec up to date with their SVN trunk
- Speex codec should work in FIXED_POINT mode when PJ_HAS_FLOATING_POINT is set to zero.
- ulaw2linear will return zero if zero is given (this would make the VAD works better, and it also fixed click noise when call is established/hangup).




git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@628 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-26 17:04:54 +00:00
Benny Prijono 87445bc138 Fixed rather loud clicking/tick noise when call is established. This was caused by the PLC not properly cleared before it is reused for the next call
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@627 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-26 11:23:07 +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 92ac447ad2 Changed all public header files to compile correctly when -ansi and -pedantic is used, also when g++ is used
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@622 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-22 13:42:56 +00:00
Benny Prijono e219b0ffb1 Added PJMEDIA_RTCP_IGNORE_FIRST_PACKETS macro to let application decides how many first RTP packets to ignore when calculating jitter
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@618 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-22 12:45:37 +00:00
Benny Prijono a8838bfca2 Set the SDP parser to allow blank newline at the end of the message
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@609 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-17 12:02:03 +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 9c5d8a4ed4 Split ulaw/alaw algorithm from g711.c to alaw_ulaw.c to break circular dependencies between g711 codec and silence detector
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@584 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-04 23:43:31 +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 f3b6290108 Fixed bug in SDP rtpmap parsing that caused SDP failed to parse the rtpmap attribute (because input is not null terminated)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@572 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-02 13:36:50 +00:00
Benny Prijono 5d4b53b6e8 Miscellaneous bug fix and improvements in PJMEDIA: (1) more stricker SDP parsing and validation, (2) fixed bug in RTCP attribute generation in SDP, (3) configurable telephone-event payload type
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@571 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-02 12:29:54 +00:00
Benny Prijono e0b1cdd6dc Fixed minor bug: RTCP session not fully cleared when it is initialized (should bzero everything), causing incorrect stats when it is reused for next call. Also couple of gcc warnings fixed.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@569 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-29 15:42:57 +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 f2a3e51a35 Minor bug fix and enhancements: (1) fixed bug that caused out-of-order status to be raised when incoming sequence number is random, (2) changed RTCP to only calculate jitter when the RTP timestamp of the packet is different than previous one, and (3) change RTP to randomize initial sequence number
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@567 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-29 09:51:09 +00:00
Benny Prijono a14fe1f936 Fixed minor compliation warning in transport_udp.c, also corrected misleading comments, and added memory based capture/playback to the Makefile
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@558 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-28 11:48:51 +00:00
Benny Prijono 597d7ad058 Added better API for media transport, and fixed bugs with pending RTP write operation in UDP media transport
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@539 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-22 18:49:45 +00:00
Benny Prijono 1b8b0d559c Handle error reported by transport
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@538 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-22 18:47:29 +00:00
Benny Prijono 84f45890c4 Fixed RTCP statistic returning fraction lost instead of total lost
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@537 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-22 18:44:11 +00:00
Benny Prijono 6028166c63 Fixed unreferenced argument warning
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@535 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-22 18:39:33 +00:00
Benny Prijono 7eaa0fd360 Added the error code into error messages
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@534 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-22 18:30:13 +00:00
Benny Prijono e8f275a4a1 Added capability to build pjmedia_sock_info from an UDP media transport
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@533 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-22 00:54:54 +00:00
Benny Prijono 9eda522046 Added memory/buffer based media playback and recording
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@532 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-22 00:34:27 +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 4b5977c74c Removed <malloc.h> from speex/kiss_fft.h as it does not exist in macOS X
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@529 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-19 15:40:03 +00:00
Benny Prijono b180dcab74 Fixed bugs in negotiating SDP answer from remote for dynamic payload types
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@527 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-19 14:48:06 +00:00
Benny Prijono b5e1acf426 Fixed pjmedia build errors in the Makefile with the new gsm patchlevel
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@525 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-19 12:23:59 +00:00