summaryrefslogtreecommitdiff
path: root/pjsip-apps/src/samples
AgeCommit message (Collapse)Author
2009-12-08Fixed ticket #999:Benny Prijono
Several bug fixes to the TURN client library and icedemo sample application: 1. ICE stream transport reports ICE initialization/candidate gathering stage as successful even when TURN client TCP connection has failed. 2. Bad ChannelData framing when TCP is used. PJNATH did not properly add padding to the TURN ChannelData packet if TCP is used and the data is not aligned to four bytes boundary. Similarly incoming ChannelData with padding (over TCP) may not be handled correctly. 3. Incoming data over TCP may be delayed. PJNATH only processed one frame (be it request, indication, or ChannelData) on an incoming stream, so if the stream contains more than one frames, the processing of subsequent frames will be delayed until more stream is received on the TCP transport. 4. The icedemo sample application overwrites the incoming packet buffer with NULL character ('\0') before printing the message to console. If there is another packet after current packet (as often happens when TCP is used), the subsequent packet will get corrupted. The combinations of bugs above may cause PJNATH to return "Invalid STUN message length (PJNATH_EINSTUNMSGLEN)" error when processing incoming TURN ChannelData message over TCP. And a small enhancement: 1. Add logging to file option to icedemo sample. Thanks Sarun Nandakumar for the report. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3028 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-11Ticket #951 (misc fixes):Benny Prijono
- fixed misc compiler warnings with gcc on Linux git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2938 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-05More ticket #925: added compile time option to enable verbose logging ↵Benny Prijono
output, and one more fix about samples_per_frame mismatch git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2854 74dad513-b988-da41-8d7b-12977e46ad98
2009-07-29Ticket #925: New application to simulate network and system impairments to ↵Benny Prijono
see how it affects the audio quality git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2846 74dad513-b988-da41-8d7b-12977e46ad98
2009-05-29Integration of Sipit24 branch, many tickets involved:Benny Prijono
- #793: AMR encoder should regard 'mode-set' param specified by remote decoder. - #831: Automatically switch to TCP transport when sending large request - #832: Support for outbound proxy setting without using Route header - #849: Modify conference audio switch behavior in connecting ports. - #850: Remove 'Require=replaces' param in 'Refer-To' header (in call transfer with replaces). - #851: Support for regular nomination in ICE - #852: --ip-addr support for IPv6 for media transport in pjsua - #854: Adding SOFTWARE attribute in all outgoing requests may cause compatibility problem with older STUN server (thanks Alexei Kuznetsov for the report) - #855: Bug in digit map frequencies for DTMF digits (thanks FCCH for the report) - #856: Put back the ICE candidate priority values according to the default values in the draft-mmusic-ice - #857: Support for ICE keep-alive with Binding indication - #858: Do not authenticate STUN 438 response - #859: AMR-WB format param in the SDP is not negotiated correctly. - #867: Return error instead of asserting when PJSUA-LIB fails to open log file git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2724 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-15More ticket #780: more work on icedemo sample applicationBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2600 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-13Ticket #780: initial work on an ICE demo appBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2592 74dad513-b988-da41-8d7b-12977e46ad98
2009-03-27Ticket #771 (auddev-misc): Minor fix in auddemo menu.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2558 74dad513-b988-da41-8d7b-12977e46ad98
2009-03-27Ticket #771 (auddev-misc):Nanang Izzuddin
Updated audio test tool: - Fixed playback report on avg interval. - Added feature to set/get capture & playback latecies setting. - Minor update on drift calculation, improve a bit readibility for debugging. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2555 74dad513-b988-da41-8d7b-12977e46ad98
2009-03-17Fixed warnings about unchecked fgets() return value with gcc 4Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2517 74dad513-b988-da41-8d7b-12977e46ad98
2009-03-16Ticket #737: Minor fix for auddemo.c, disable its log color (that may cause ↵Nanang Izzuddin
log unreadable on bright/white shell background). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2514 74dad513-b988-da41-8d7b-12977e46ad98
2009-03-12(Major) Task #737 and #738: integration of APS-Direct and Audiodev from ↵Benny Prijono
aps-direct branch to trunk. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2506 74dad513-b988-da41-8d7b-12977e46ad98
2009-01-20Minor fix sin simpleua.c sample: should put authentication scheme in the ↵Benny Prijono
sample snippet for authentication git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2423 74dad513-b988-da41-8d7b-12977e46ad98
2009-01-01Fixed gcc-4.3.2 warnings with the warn_unused_result flag in some APIsBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2408 74dad513-b988-da41-8d7b-12977e46ad98
2008-12-23Updated copyright notice in all files to Teluu Inc., and changed the year as ↵Benny Prijono
well git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2394 74dad513-b988-da41-8d7b-12977e46ad98
2008-11-19Small modifications to level.c sample to print out the timeline and linear levelBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2369 74dad513-b988-da41-8d7b-12977e46ad98
2008-08-13Added interactive option in aectest sample and to display WAV duration on exitBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2210 74dad513-b988-da41-8d7b-12977e46ad98
2008-08-10Ticket #590: new echo suppressor which should work much better than the old oneBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2199 74dad513-b988-da41-8d7b-12977e46ad98
2008-08-09Ticket #588: Improvements to echo cancellation frameworkBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2198 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-28Added latency.c in the samples (see ↵Benny Prijono
http://trac.pjsip.org/repos/wiki/MeasuringSoundLatency) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2178 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-23Fixed crash in stateful proxy sample when receiving request with malformed ↵Benny Prijono
CSeq header (thanks Brocha Strous) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2168 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-07Configuration option to include/exclude loopback interface in ↵Benny Prijono
enum_ip_interface(), and always include loopback address in the proxy sample (thanks Filippo Zangheri for the suggestion) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2112 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-04Fixed compilation warnings on gcc-4.2.3Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2103 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-20Large changeset to replace all occurences of year 2007 with 2008 in the ↵Benny Prijono
copyright notice git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2039 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-09Removed codec G729 from encdec.cNanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2000 74dad513-b988-da41-8d7b-12977e46ad98
2008-05-17More on ticket #535: updated files using and related to math.hNanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1961 74dad513-b988-da41-8d7b-12977e46ad98
2008-05-08Ticket #524: changed pjsua and stereotest default audio frame time from 10ms ↵Nanang Izzuddin
to 20ms git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1951 74dad513-b988-da41-8d7b-12977e46ad98
2008-04-29More on ticket #513:Nanang Izzuddin
- 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: http://svn.pjsip.org/repos/pjproject/trunk@1943 74dad513-b988-da41-8d7b-12977e46ad98
2008-04-22Added ability to send custom headers in sipstateless sampleBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1937 74dad513-b988-da41-8d7b-12977e46ad98
2008-03-30More ticket #504: added missing new files!Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1901 74dad513-b988-da41-8d7b-12977e46ad98
2008-03-17More ticket #479: bug in pjmedia_transport_get_info(), the info should be ↵Benny Prijono
initialized by caller git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1873 74dad513-b988-da41-8d7b-12977e46ad98
2008-03-17Ticket #507: committed and tested g722 patch on WindowsBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1870 74dad513-b988-da41-8d7b-12977e46ad98
2008-03-11Ticket #479: allow media transport framework to return transport specific ↵Benny Prijono
info (for example, to know whether SRTP is enabled) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1860 74dad513-b988-da41-8d7b-12977e46ad98
2008-03-08Make SIP and RTP ports in simpleua configurable, and add initial support for ↵Benny Prijono
IPv6 too git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1851 74dad513-b988-da41-8d7b-12977e46ad98
2008-03-07Ticket #504: assertion in sound device and recfile sample when using stereoBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1848 74dad513-b988-da41-8d7b-12977e46ad98
2008-02-28Added 100rel module initialization in pjsip-perf.cBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1828 74dad513-b988-da41-8d7b-12977e46ad98
2008-02-26Stateful proxy sample: do not create CANCEL if UAC INVITE transaction has ↵Benny Prijono
been responded with final response git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1822 74dad513-b988-da41-8d7b-12977e46ad98
2008-02-22Ticket #7: Move PJSIP compile time configurations/settings (such as T1, T2 ↵Benny Prijono
timers) to run-time (thanks Philippe Leuba) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1818 74dad513-b988-da41-8d7b-12977e46ad98
2008-02-18Fixed build error if SRTP is disabled in compile time (thanks Helmut Wolf)Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1802 74dad513-b988-da41-8d7b-12977e46ad98
2008-02-07Added missing <math.h> include in playsine.cBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1781 74dad513-b988-da41-8d7b-12977e46ad98
2008-02-07Removed const on on_rx_rtp() and on_rx_rtcp() functions arguments in ↵Benny Prijono
stream.c and srtp.c (const was removed in r1763) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1780 74dad513-b988-da41-8d7b-12977e46ad98
2008-02-02More ticket #465: option to return UDP header in pj_pcap_read_udp(), and ↵Benny Prijono
better RTP packet handling in pcaputil sample git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1769 74dad513-b988-da41-8d7b-12977e46ad98
2008-02-02Fixed warning about uninitialized tpinfo variableBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1768 74dad513-b988-da41-8d7b-12977e46ad98
2008-02-01More ticket #465: updated VS8 and WinCE projectsBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1766 74dad513-b988-da41-8d7b-12977e46ad98
2008-02-01Ticket #465: utility to read PCAP file and sample application to read RTP ↵Benny Prijono
files from PCAP file, decode the payload, and write the PCM output to WAV file git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1765 74dad513-b988-da41-8d7b-12977e46ad98
2008-01-30Ticket #61: undo r1759 and replace it with other patches to fix unable to ↵Benny Prijono
accept RTP/AVP offer with a=crypto attribute when use_sdp is set to zero. Also minor fix to streamutil git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1760 74dad513-b988-da41-8d7b-12977e46ad98
2008-01-23Ticket #61: Implement SRTP support in PJMEDIA and PJSUA-LIB, and updated ↵Benny Prijono
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: http://svn.pjsip.org/repos/pjproject/trunk@1735 74dad513-b988-da41-8d7b-12977e46ad98
2008-01-12In mix.c, handle FRAME_TYPE_NONE if the conference ever returns oneBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1686 74dad513-b988-da41-8d7b-12977e46ad98
2008-01-12Fixed overflow bug in length calculation, added force option, and added ↵Benny Prijono
trailing silence in the output file git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1684 74dad513-b988-da41-8d7b-12977e46ad98
2008-01-12Ticket #446: Added sample application to mix WAV files using conference bridgeBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1682 74dad513-b988-da41-8d7b-12977e46ad98