summaryrefslogtreecommitdiff
path: root/pjsip
AgeCommit message (Collapse)Author
2012-04-24Fix #1423:Nanang Izzuddin
- Added provisional media in call for generating initial and subsequent SDP offer/answer. If a reoffer is rejected by peer, the main call media will remain unchanged and the provisional media will be cleaned up (the cleanup is currently delayed until call gets destroyed or another reoffer/answer occurs). - Reenabled media transport dump in pjsua_core.c. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4071 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-23Fixed #1493: Fixed bug in terminating the invite session when accepting ↵Liong Sauw Ming
incoming call. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4068 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-17Re #1355: vidgui: new rendering window may cause all rendering processes to stopLiong Sauw Ming
Despite this fix, there is still a possibility that the rendering window can occasionally get stuck because SDL_PollEvent() gets stuck. This is most likely because there are two unsynchronized event pollers, Qt and SDL. The problem only happened on Windows with SDL 1.3 r5538, runs fine on Mac. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4060 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-16Re #1474: merged r4042-r4053Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4054 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-16Re #1446 (misc): Fixed unset sip error code if pjsip_inv_verify_request3() ↵Liong Sauw Ming
failed. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4052 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-12Re #1476: Initial version of send rate control in video stream, added simple ↵Nanang Izzuddin
blocking method (block application thread to make send delay when delay is needed). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4043 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-12Re #1474: merged r4041Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4042 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-12Re #1474: merged r4039Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4040 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-11Re #1474: merged r4031-r4037Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4038 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-05Misc (Re #1446): limit pjsua_vid_codec_get/set_param() search domain to only ↵Nanang Izzuddin
codecs with RTP packetizations. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4028 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-04-03Close #1479: Applied RTCP related enhancements (#1268 & #1440) into video ↵Nanang Izzuddin
stream. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4012 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-03Misc (re #1446): fixed log message in pjsua_media_channel_update() for ↵Nanang Izzuddin
pjsua_vid_channel_update() failure. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4011 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-02Re #1446: removed the obsolete but misleading sip_transport_tls_ossl.c fileBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4005 74dad513-b988-da41-8d7b-12977e46ad98
2012-03-30Re #1474: merged r3879:3885Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4001 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-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-30Re #1446 (misc fix): Fix call info to display correct invite state Liong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3996 74dad513-b988-da41-8d7b-12977e46ad98
2012-03-28Misc (re #1446): prevent on_call_state() callback from being called before ↵Benny Prijono
on_incoming_call() callback is called git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3990 74dad513-b988-da41-8d7b-12977e46ad98
2012-03-22Re #1463 (3rd party media support): fixed VS2005 project setting for newly ↵Nanang Izzuddin
added files (pjmedia/stream_info.c, pjmedia/vid_stream_info.c, pjsua-lib/pjsua_aud.c). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3985 74dad513-b988-da41-8d7b-12977e46ad98
2012-03-22Re: #1463 (Third party media support). Tnitial work and it works, tested on ↵Benny Prijono
Linux. Details: * add PJSUA_MEDIA_HAS_PJMEDIA macro * move pjmedia specific implementation in pjsua_media.c and pjsua_call.c into pjsua_aud.c * add pjsip-apps/src/third_party_media sample containing: - alt_pjsua_aud.c - alt_pjsua_vid.c * moved pjmedia_vid_stream_info_from_sdp() into pjmedia/vid_stream_info.c * moved pjmedia_stream_info_from_sdp() into pjmedia/stream_info.c * misc: fixed mips_test.c if codecs are disabled git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3982 74dad513-b988-da41-8d7b-12977e46ad98
2012-03-22Re #1467: fix sound device (opened/closed) status check in ↵Nanang Izzuddin
check_snd_dev_idle(), especially when sound device is managed by app (no_snd = PJ_TRUE). Note that pjsua_media_subsys_destroy() always close the sound device first, so check_snd_dev_idle() in pjsua_destroy() sequence should have been just a no-operation. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3981 74dad513-b988-da41-8d7b-12977e46ad98
2012-03-07Fixed #1461: pjsua_call_make_call: assertion failure when rapidly making callsLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3966 74dad513-b988-da41-8d7b-12977e46ad98
2012-03-06Fix #1459: returned back the old/1.x way of controlling dialog lifetime in ↵Nanang Izzuddin
pjsua_call_make_call(). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3965 74dad513-b988-da41-8d7b-12977e46ad98
2012-02-21Fix #1453:Nanang Izzuddin
- Add and manage pool instance in default codec param in video codec framework. - API change: pool param is removed from pjmedia_vid_codec_mgr_set_default_param(). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3956 74dad513-b988-da41-8d7b-12977e46ad98
2012-01-27Re #1244: Added bandwidth info in SDP ("b=" lines) based on codec bitrate ↵Nanang Izzuddin
settings. Two SDP bandwidth types/modifiers are used: AS in session level & TIAS in media level. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3945 74dad513-b988-da41-8d7b-12977e46ad98
2012-01-11Fix #1444: always connect video capture port to video tee, even when the ↵Nanang Izzuddin
capture port has native preview, as a capture port can be used simultaneously by multiple streams (not only used by non-native preview renderer). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3940 74dad513-b988-da41-8d7b-12977e46ad98
2012-01-09Fixes #1442: Unable to make call if disabled media is includedLiong Sauw Ming
Add an API pjsua_schedule_timer2() to allow application to schedule a callback function to be executed after a specified time interval. This enables app to post a delayed job which, in this case, allows the initialization of all media transport creations to finish first before we get the media transport creations result. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3938 74dad513-b988-da41-8d7b-12977e46ad98
2011-12-28Fix #1433: synchronuous ICE initialization calls PJSUA_UNLOCK() only when ↵Nanang Izzuddin
the PJSUA lock is actually held by this thread. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3929 74dad513-b988-da41-8d7b-12977e46ad98
2011-12-28Close #1434: Added PJSUA_LOCK_IS_LOCKED().Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3928 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-26Re #1393 (misc): renamed label on_error to on_return and fixed warning re ↵Benny Prijono
constness git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3921 74dad513-b988-da41-8d7b-12977e46ad98
2011-12-26Re #1234: increase default interval between two INFOs from 500 to 3000 msBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3920 74dad513-b988-da41-8d7b-12977e46ad98
2011-12-23Re #1430: Fixed crash when STUN & ICE is offLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3919 74dad513-b988-da41-8d7b-12977e46ad98
2011-12-20Fixed #1430: Crash when dialog is prematurely destroyed during outgoing call.Liong Sauw Ming
We do this by temporarily incrementing dialog session until the invite session is created. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3918 74dad513-b988-da41-8d7b-12977e46ad98
2011-12-20Fix #1425:Nanang Izzuddin
- Updating port info of the switchboard master port (after reopening audio device) with the audio device param should care about PJMEDIA_AUD_DEV_CAP_EXT_FORMAT flag, i.e: only copy from audio device extended format info when the flag is set. - Fixed switchboard to update the master port info shortcut in connecting ports, as master port info may get updated to match to the connecting ports. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3915 74dad513-b988-da41-8d7b-12977e46ad98
2011-12-15Fix #1427: added check if video_cnt in call option should be increased while ↵Nanang Izzuddin
trying to enable a video stream. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3912 74dad513-b988-da41-8d7b-12977e46ad98
2011-12-15Misc (re #1393): fix compile error in pjsua_media.c (undefined member ↵Nanang Izzuddin
'bitrate' in struct 'pjmedia_format') when using passthrough codec. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3909 74dad513-b988-da41-8d7b-12977e46ad98
2011-12-13Close #1424: Added new pjsua callback: on_call_rx_offer().Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3908 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-08Re #1419: updated call transfer to allow both the transferee and the ↵Nanang Izzuddin
transfer destination to update the current call setting: - for transferee (attended & unattended): via new PJSUA-LIB callback on_call_transfer_request2() - for transfer destination (attended only): via new PJSUA-LIB callback on_call_replace_request2() git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3903 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-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-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-11-17Missing video component deinitialization caused assertion when the stack is ↵Benny Prijono
restarted. Thanks Régis Montoya for the report (re #1393) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3887 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-31Re #1395: Backport of PJSIP 1.x branch into PJSIP 2.0 trunkLiong Sauw Ming
* Backport of r3833:r3877 git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3878 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-28Misc (re #13930; added info about ICE candidates being used (both local and ↵Benny Prijono
remote) in pjsua dump call output git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3870 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-27Re #1393 (misc): remove unnecessary call to start preview renderer in video ↵Benny Prijono
update git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3866 74dad513-b988-da41-8d7b-12977e46ad98