Commit Graph

452 Commits

Author SHA1 Message Date
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