summaryrefslogtreecommitdiff
path: root/pjsip-apps/src/samples
AgeCommit message (Collapse)Author
2012-04-16Re #1441: applied window flags BORDER and RESIZABLE to the local preview ↵Nanang Izzuddin
when sending AVI. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4055 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-13Re #1446 (misc): Change the default of PJMEDIA_HAS_FFMPEG_VID_CODEC to ↵Liong Sauw Ming
PJMEDIA_HAS_FFMPEG_CODEC. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4051 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-04Misc (Re #1446): Add support for aviplay to play H264 and MPEG4 decoded AVI ↵Liong Sauw Ming
videos. This includes support for XVID and DIVX MPEG4. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4018 74dad513-b988-da41-8d7b-12977e46ad98
2012-03-30Misc (re #1446): Fixed compile warnings on VS2005.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4000 74dad513-b988-da41-8d7b-12977e46ad98
2012-01-06Re #1441 (vid_streamutil): applied window flags BORDER and RESIZABLE to the ↵Nanang Izzuddin
incoming video window. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3937 74dad513-b988-da41-8d7b-12977e46ad98
2012-01-06Re #1441 (vid_streamutil): only apply the decoding format size ↵Nanang Izzuddin
(DEF_RENDERER_WIDTH/HEIGHT macro setting) if it is larger than the default. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3936 74dad513-b988-da41-8d7b-12977e46ad98
2012-01-06Re #1441 (vid_streamutil): fixed assertion of uninitialized event manager.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3935 74dad513-b988-da41-8d7b-12977e46ad98
2011-12-09Re #1420: Create a pool for the event manager so subscriber doesn't need to ↵Liong Sauw Ming
supply its own pool. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3905 74dad513-b988-da41-8d7b-12977e46ad98
2011-12-01Closed #1420: Add support for event managerLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3893 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-24Re #1395: Backport of PJSIP 1.x branch into PJSIP 2.0 trunkLiong Sauw Ming
* Backport of r3557:r3832 TODO: ticket #1268 (Option for automatic/manual sending of RTCP SDES/BYE for the stream) for video stream. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3841 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-06Close #1381:Nanang Izzuddin
- Added 'ignore_fmtp' field in pjmedia_vid_codec_param to allow application to omit SDP fmtp in codec param without risking video size and frame rate param being overridden with default values. - Updated sample app vid_streamutil.c to use that field, which currently not supplying SDP fmtp to video codec. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3795 74dad513-b988-da41-8d7b-12977e46ad98
2011-09-29Closed #1361: codec API change. Details:Benny Prijono
- changed encode(), packetize(), unpacketize(), and decode() to encode_begin(), encode_more(), and decode() - codec has new "packing" setting - updated stream, aviplay, codec-test, and stream-util due to above - minor doxygen documentation fixes here and there git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3776 74dad513-b988-da41-8d7b-12977e46ad98
2011-09-19Implemented sipecho for testing (fixed #1373)Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3754 74dad513-b988-da41-8d7b-12977e46ad98
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