summaryrefslogtreecommitdiff
path: root/pjsip-apps/src/pjsua
AgeCommit message (Collapse)Author
2012-04-05More re #1478: AVI cleanup steps in pjsua app.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4024 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-05Misc (Re #1446): Fixed wrong setting of pjsua_app's options.Liong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4023 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-04More re #1478: now really do not connect to microphone when streaming avi ↵Benny Prijono
(instead of disconnecting the whole audio) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4020 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-04More re #1478: do not connect the microphone when streaming aviBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4019 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-04Fixed #1478: AVI player virtual device. Initial spec:Benny Prijono
- Currently only Works with raw video and audio AVI files - Added --play-avi and --auto-play-avi options in pjsua - No A/V synchronization yet git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4016 74dad513-b988-da41-8d7b-12977e46ad98
2012-03-30Re #1474: Merged all changes from 1.12 - HEAD (from the 1.x branch)Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3999 74dad513-b988-da41-8d7b-12977e46ad98
2012-03-09Misc (re #1446): Minor fixes arrange_window() in pjsua app:Nanang Izzuddin
- calculate visible windows only (with 2 calls, there was already an out-of-screen window) - re-arrange windows on format changed event git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3971 74dad513-b988-da41-8d7b-12977e46ad98
2011-12-27More re #1419: changed field names from video_count to vid_cnt and audio_cnt ↵Benny Prijono
to aud_cnt for better consistency git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3925 74dad513-b988-da41-8d7b-12977e46ad98
2011-12-07Re #1234: Initial version of keyframe request/response via SIP INFO.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3901 74dad513-b988-da41-8d7b-12977e46ad98
2011-12-02Minor (re #1393): fixed compilation warning in pjsua app if video is disabledBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3894 74dad513-b988-da41-8d7b-12977e46ad98
2011-12-01Misc (re #1393): fix linking error "app_config_init_video() not found" when ↵Nanang Izzuddin
video is disabled, also some compile warnings (unused variables). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3892 74dad513-b988-da41-8d7b-12977e46ad98
2011-12-01Re #1419, implement media count manipulation per call basis:Nanang Izzuddin
- moved the media count setting from account setting to call setting - introduced pjsua_call_setting, to be used by pjsua_call_make_call() and some new APIs: pjsua_call_answer2(), pjsua_call_reinvite2(), pjsua_call_update2() git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3891 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-28Misc (re #1393): write log if adding pjsua buddy failsBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3875 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-26Fixed #1401: Add support for video device's window flagsLiong Sauw Ming
Now support flags PJMEDIA_VID_DEV_WND_BORDER and PJMEDIA_VID_DEV_WND_RESIZABLE. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3864 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-26Added video for TCP account (previous fix did not work, re #1400)Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3863 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-26Added missing video initialization to TCP local accounts in pjsua (fixed #1400)Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3862 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-25Misc (re #1393): crash in vid win command without argumentBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3852 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-25Re #1400: init video settings for pjsua app accounts.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3851 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-25Re #1400: enhancements to video operations in pjsua applicationBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3850 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-18Fixed compilation error in pjsua_app introduced by r3819 if video is not ↵Benny Prijono
enabled (re #1390) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3825 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-18Reenable ffmpeg H264 (re #1390):Nanang Izzuddin
- Review H264 codec settings such as profile, level, NAL unit size, bitrate, quality, latency. - Added new format PJMEDIA_FORMAT_GBRP, 24 bits planar RGB, one of the formats outputted by the latest ffmpeg H264 decoder. - Fixed format change detection bug in ffmpeg wrapper, decoder didn't update its internal state with the new format so format change event was generated in every decoding operation. - Added compile time configurations for enabling/disabling ffmpeg codec H263+ & H264. - Updated pjsua app to adjust window size to original video size. With H264, default window size will be too big as it is init'd with default H264 video size, e.g: 720x480 for profile level 30. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3819 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-06Misc (re #1370): pjsua hide preview window when setting preview offBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3800 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-06Misc (re #1370): rename command "vid call set-cap" to "vid call cap", and ↵Benny Prijono
added command "vid win arrange" to auto-arrange windows git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3798 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-04Fixed link error in pjsua due to r3785 (Misc, re #1370)Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3789 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-04Misc (re #1370): auto arranging of video windows in pjsuaBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3785 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-29Misc (re #1320): fixed wrong check order in pjsua app vid_handle_menu(), ↵Nanang Izzuddin
input string "vid " crashed the app. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3735 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-15Re #1263 (Video API):Benny Prijono
- Added PJSUA_CALL_VID_STRM_NO_OP to occupy value 0 for the enum - Added pjsua_call_vid_strm_op_param_default() to initialize pjsua_call_vid_strm_op_param - Renamed pjsua_call_get_transport_info() to pjsua_call_get_med_transport_info() git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3694 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-03-23Fixed #1221: Crash when SIP transport tried to write to a broken pipe.Liong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3478 74dad513-b988-da41-8d7b-12977e46ad98
2011-02-28Initial implementation for re #1202 (PJILB System Information API) for ↵Benny Prijono
Linux/Unix git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3423 74dad513-b988-da41-8d7b-12977e46ad98
2010-11-18Re #1020 (Support for SIP outbound and Path extension (RFC 5626)): added ↵Benny Prijono
pjsua --outb-rid option to set outbound reg-id parameter for the account git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3372 74dad513-b988-da41-8d7b-12977e46ad98
2010-11-17Re #1151 (misc): also enable plain UDP SIP transport when enabling IPv6, ↵Benny Prijono
since many UA will use IPv4 in their Contacts (keyword: sipit27) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3370 74dad513-b988-da41-8d7b-12977e46ad98
2010-11-15Re #1151 (misc fixes): fixed error in pjsua application when handling ↵Benny Prijono
malformed URI in sending arbitrary request git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3365 74dad513-b988-da41-8d7b-12977e46ad98
2010-10-12Closed #1144: New presence callback to report subscription state (thanks ↵Benny Prijono
Johan Lantz for the suggestion): - added on_buddy_evsub_state() callback - added sample implementation in pjsua_app.c git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3339 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-22Misc (re #1134): fixed default value of pjsua app param "--snd-auto-close" ↵Nanang Izzuddin
in pjsua app help message (was -1, should be 1, see r2493). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3318 74dad513-b988-da41-8d7b-12977e46ad98
2010-09-07Re #1120:Nanang Izzuddin
- Added enum pjsua_sip_timer_use for session timer usage types, containing: inactive, optional, required, always - Replaced require_timer (boolean) with above enum in global and account config setting. - Updated pjsua app --use-timer option accordingly. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3305 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-27Closed ticket #1107: iOS4 background featureLiong Sauw Ming
* pjlib: * add support for activesock TCP to work in background mode. * add feature in ioqueue to recreate closed UDP sockets. * pjsip-apps: * ipjsua: add support for iPhone OS 4 background mode * ipjsystest: add support for iPhone OS 4 background mode git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3299 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-01Implemented core multipart support and support in the invite session (re #1070)Benny Prijono
- incoming multipart message will be handled automatically - for testing, enable HAVE_MULTIPART_TEST in pjsua_app.c git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3243 74dad513-b988-da41-8d7b-12977e46ad98
2010-06-22Fixed #1095 (New option to control the Route headers in REGISTER request). ↵Benny Prijono
Details: - added new account config setting: reg_use_proxy. This contains bitmask values to indicate whether outbound proxies and account proxies are to be added in the REGISTER request. Default value is to add both. - added new pjsua cmdline option to control this: --reg-use-proxy - miscellaneous minor fixes in other pjsua cmdline arguments git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3216 74dad513-b988-da41-8d7b-12977e46ad98
2010-06-19Fixed #1077: In ICE stream transport (ice_strans.c), automaticaly retry ↵Benny Prijono
allocation once if TURN allocation fails. If this allocation retry also fails, notify the TURN user via on_ice_complete() callback. Details: - added new PJ_ICE_STRANS_OP_KEEP_ALIVE operation - also added new on_ice_transport_error() pjsua callback to allow application to react to the failure. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3212 74dad513-b988-da41-8d7b-12977e46ad98
2010-05-19Re #1068 (misc fix): added --log-append option in pjsua to not overwrite ↵Benny Prijono
existing log file git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3183 74dad513-b988-da41-8d7b-12977e46ad98
2010-05-17Merge #1050, #1052, #1053, #1054 into the main trunk.Liong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3175 74dad513-b988-da41-8d7b-12977e46ad98
2010-05-13Re #1069:Nanang Izzuddin
- Added new approach of SRTP optional mode in pjsua-lib by duplicating SDP media line for secured and unsecured version of media transport. - Integrated this feature into pjsua app, it is activated via --use-srtp=3 param. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3172 74dad513-b988-da41-8d7b-12977e46ad98
2010-03-30Ticket #1044:Nanang Izzuddin
- Added initial version of automatic re-registration after registration failure and automatic call disconnection after re-registration attempt fails. - Published auto re-registration setting to pjsua app. - Updated pjsip_regc_send() to retrieve the transport earlier (was only in tsx_callback()). - Fixed TCP and TLS transport to prevent transport deletion in transport disconnection callback. - Fixed wrong keep-alive settings used by TLS transport (was using TCP keep-alive settings). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3128 74dad513-b988-da41-8d7b-12977e46ad98
2010-03-10More #1032 (new SIP TCP/TLS transport callback):Benny Prijono
- PJSUA-LIB transport callback, if installed, will call the previously registered callback, to allow multiple transport callbacks to be installed - there seem to be a bug with the use of "pjsip_tp_state_callback" everywhere (the "pjsip_tp_state_callback" type is pointer, but most variables of this type are declared to pointer too) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3119 74dad513-b988-da41-8d7b-12977e46ad98
2010-02-25More ticket #1032:Nanang Izzuddin
- Updated transport state notification callback to return void. - Updated transport state enum to only contain connected and disconnected, no more bitmask value. - Added direction field to SIP transport. - Removed remote hostname hash from transport key. - Updated cert info dump to return -1 when buffer is insufficient. - Added new error code PJSIP_TLS_ECERTVERIF. - Updated get_cert_name() in ssl_sock_symbian.c to use heap buffer instead of stack. - Minors, e.g: added prefix PJ in cipher types, docs. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3110 74dad513-b988-da41-8d7b-12977e46ad98