summaryrefslogtreecommitdiff
path: root/pjsip
AgeCommit message (Collapse)Author
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
2011-10-26Close #1403: Fixed pjsua-lib in generating re-offer when the current session ↵Nanang Izzuddin
contains (disabled) unknown media types. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3865 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-26Fixed #1402: crash when adding new mediaBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3860 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-25Fixed call_med->rtp_addr is not initialized causing UPDATE to be sent after ↵Benny Prijono
every ICE negotiation (misc re #1392) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3858 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-25Misc (re #1393): cosmetic in call dump, missing '=' char in avg bitrate in TX :)Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3857 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-25Fixed #1398: TURN initialization failure scenario Liong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3849 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-23Re #1300: Implemented symmetric payload type in generating SDP answer in SDP ↵Nanang Izzuddin
negotiator. This should work for all codecs, audio & video. Can be disabled at compile-time using PJMEDIA_SDP_NEG_REWRITE_ANSWER_PT macro setting. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3837 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-06Misc (re #1370): fixed change video capture device for a call implementationBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3799 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-06Re #1266:Liong Sauw Ming
* Make sure that all media transports are already created and completed to fix the assertion when making call using ICE. * Change the callback pjsua_med_tp_state_cb to return pj_status_t (instead of void) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3796 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-06Misc (re #1370): calling pjmedia_vid_port_start() more than once had caused ↵Benny Prijono
freezing capture video if preview is enabled before making video calls git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3793 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-06Misc (re #1370): minor fix compile warning on VS2005 about comparison ↵Nanang Izzuddin
between int & unsigned int. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3790 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-04Fixed missing updating of call_med's cap_dev after fast switching (re #1362)Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3788 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-04More re #1362: actually try to use the device switching capability in ↵Benny Prijono
pjsua-lib, in pjsua_call_set_vid_strm(PJSUA_CALL_VID_STRM_CHANGE_CAP_DEV) operation git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3787 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-04Added pjsua_call_vid_stream_is_running() and pjmedia_vid_stream_is_running() ↵Benny Prijono
API (closes #1379) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3786 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-04Misc (re #1370): minor fix in pjsua_vid_preview_get_win() documentation ↵Benny Prijono
which said it will return NULL instead of PJSUA_INVALID_ID if the window is not created for the device git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3784 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-03Re #1266: Modified pjsua_media_channel_deinit() to resume deinit in the ↵Liong Sauw Ming
callback (instead of returning PJ_EBUSY) and make sure the right transport is used before calling dlg_respond() git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3780 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-03Fix #1358:Nanang Izzuddin
- Fixed wrong place of video capture & render event subscription initialization, causing it getting reinitted while being subscribed. - Moved capture/render event unsubscription to be after capture/render port stopped. Also restart the capturer (after being stopped for unsubsciption & stream detachment) only when the capturer is being used by other, e.g: stream or preview. - Fixed error handling in pjsua_call_reinvite(), call pjsip_dlg_dec_lock() only if dlg is successfully acquired. - Minor: added [un]subscribtion log to event. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3778 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-03Closed #1266:Liong Sauw Ming
Handle incoming calls when media transport is created asynchronously. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3777 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-28Re #1266: Fixed failed automated tests for ICELiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3775 74dad513-b988-da41-8d7b-12977e46ad98
2011-09-27Close #1360: implementated video orientation (currently only for video devices).Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3774 74dad513-b988-da41-8d7b-12977e46ad98
2011-09-23Closes #1377: fixed video stream cleanup to reset back cap_win_id & ↵Nanang Izzuddin
rdr_win_id value to PJSUA_INVALID_ID after capture/render device released from the call stream. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3772 74dad513-b988-da41-8d7b-12977e46ad98
2011-09-22Re #1266: Fixed crash when accepting incoming call.Liong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3767 74dad513-b988-da41-8d7b-12977e46ad98
2011-09-21Re #1266: Fixed build error in non-Windows platform.Liong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3764 74dad513-b988-da41-8d7b-12977e46ad98
2011-09-21Re #1266: Asynchronous media transport creationLiong Sauw Ming
* Add feature that allows ICE media transport to be created asynchronously. * Add new callback, e.g. on_call_media_transport_state(call_id, state_struct) to report media transport status. * Handle outgoing calls while creating media transport asynchronously. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3763 74dad513-b988-da41-8d7b-12977e46ad98
2011-09-20Related to preview (re #1340): handle problems with starting or stopping ↵Benny Prijono
preview during a call git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3758 74dad513-b988-da41-8d7b-12977e46ad98
2011-09-19Implemented native video preview support. This closes #1340Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3756 74dad513-b988-da41-8d7b-12977e46ad98