summaryrefslogtreecommitdiff
path: root/pjsip-apps/src/samples
AgeCommit message (Collapse)Author
2011-08-08Misc (re #1320): fixed link error in pjmedia_test and aviplay samples if ↵Benny Prijono
ffmpeg is not enabled git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3688 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-19Fixed #1271: protected all video features with PJMEDIA_HAS_VIDEO macro setting.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3667 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-19Re #1326:Nanang Izzuddin
- Fixed compile warnings on vs2005 - Fixed compile error when PJMEDIA_HAS_VIDEO set to 0 on vs2005 git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3666 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-19Re #1326: Initial code integration from branch 2.0-dev to trunk as ↵Nanang Izzuddin
"2.0-pre-alpha-svn". git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3664 74dad513-b988-da41-8d7b-12977e46ad98
2011-05-05Re #1250: Updated the year in all copyright texts with 2011!Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3553 74dad513-b988-da41-8d7b-12977e46ad98
2011-05-05Re #1250: Added and updated copyright text in several files (with "standard" ↵Nanang Izzuddin
Teluu copyright text). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3550 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-16Fix #1212:Nanang Izzuddin
- Updated pj_register_strerror() to just return PJ_SUCCESS when the same range and handler is being re-registered. - Removed the usage of static flag of error string handler registration in some modules, which prevent the re-registration of the handler, e.g: in restarting pjsua, as such flags never got reseted. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3455 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-11Re #1204: Added audio device list refresh into auddemo.cNanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3439 74dad513-b988-da41-8d7b-12977e46ad98
2011-02-17Misc (re #1175): fix sample app pcaputil.c bug, it always fails in reading ↵Nanang Izzuddin
the first/reference packet when the codec is not PCMU (default payload type was hardcoded to zero/PCMU). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3415 74dad513-b988-da41-8d7b-12977e46ad98
2010-09-28Closed #1139 (Support for tel: URI in PJSUA-LIB):Benny Prijono
- added new PJSUA API: pjsua_verify_url() which can be used for tel: URI - modified and tested according to spec - added new PJSIP error code, PJSIP_ENOROUTESET, to indicate that route set is needed to send to tel: URI - added couple of unit tests (we can't cover the whole tel: URI scenario yet) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3323 74dad513-b988-da41-8d7b-12977e46ad98
2010-09-27Implemented and closed #1136: added HTTP authentication supportBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3321 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-24Fix #1114:Nanang Izzuddin
- Fixed bytes_per_frame calculation in stream port. - Fixed sample streamutil.c to use codec info/param for codec bandwidth calculation (was using bytes_per_frame info of stream port). - Doc fix for bytes_per_frame field in pjmedia_port_info. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3292 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-05Misc (Re #1068): compilation warning with gcc about unchecked fgets() return ↵Benny Prijono
value git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3249 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-01Re #1068 (Misc): fixed compilation warnings with MSVC compilerBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3245 74dad513-b988-da41-8d7b-12977e46ad98
2010-03-03Ticket #1042, minor updates related to AEC:Nanang Izzuddin
- Added requirement of AEC minimal latency between reference and echo in aectest sample app. - Modified AEC latency in sound port to 3/4 of playback latency. - Few cleaned up echo_common.c: unused vars, a bit stricter latency check (to be at least as much as PTIME). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3115 74dad513-b988-da41-8d7b-12977e46ad98
2010-02-05Misc (#1018):Liong Sauw Ming
* httpdemo: make the 2nd parameter (output filename) optional (result will be printed to stdout if output file is not provided. * remove trailing "\n" from PJ_LOG. * change response.status_code from pj_str_t to pj_uint16_t. * remove PJ_EPENDING status checking from on_complete. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3089 74dad513-b988-da41-8d7b-12977e46ad98
2010-02-04Implemented ticket #1018: Simple HTTP client implementationLiong Sauw Ming
* pjlib-util: * implement http_client * pjlib-util-test: * unit test for http_client * pjsip-apps/samples: * sample http client implementation * build: * added http_client support on VS6, VS2005, MMP, and Makefile git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3087 74dad513-b988-da41-8d7b-12977e46ad98
2010-01-04Misc PJLIB fix (#1003): fix gcc warning about unused return valueBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3043 74dad513-b988-da41-8d7b-12977e46ad98
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