summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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): 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-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-04Misc (re #1370): open v4l2 in blocking mode to get rid of Resource ↵Benny Prijono
temporarily unavailable error git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3783 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-03Re #1358 (minor updates in event.c):Nanang Izzuddin
- Avoid compile warning when trace is disabled. - Added pointer of subscriber in [un]subscription log trace. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3782 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-03Added PJMEDIA_VID_DEV_CAP_SWITCH capability to allow fast switching to ↵Benny Prijono
another device while the video device stream is running. Currently not implemented on any devices.(This closes #1362) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3781 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-23Misc video (re #1370): fixed function definition specifier of ↵Nanang Izzuddin
pjmedia_vid_tee_remove_dst_port(). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3773 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-20Misc video (re #1370): ignore return value of sws_scale() as it returned ↵Benny Prijono
zero on Linux in some conversion, although the resulting picture looks okay git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3757 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
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-09-18Modified the libraries to use the new log indentation feature re #1372Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3753 74dad513-b988-da41-8d7b-12977e46ad98
2011-09-18Implemented re #1372: New log features: indentation and thread switching ↵Benny Prijono
indication git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3752 74dad513-b988-da41-8d7b-12977e46ad98
2011-09-16Re #1370: Use GCD instead of NSThread for iOS video device.Liong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3750 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-29Changed version to 2.0-alpha-svnBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3740 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-29Changed version to 2.0-alpha!Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3738 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-29Fixed #1357: temporarily disabled event in pjsua due to crashingBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3737 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-29Fixed #1353: memory leak in qt_devLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3736 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-29Disabled H.264 codec [re #1320/Misc]Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3734 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-29Re #1354: Removed pj_run_app() from vidguiLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3733 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-29Fixed crash when call is disconnected while video is not fully running (e.g. ↵Benny Prijono
ICE negotiation failed). [Re #1263] git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3732 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-29Re #1320 (misc): shut off v4l2 stderr loggingBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3731 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-29Fixed compilation error on conf_switch.c if PJMEDIA_CONF_USE_SWITCH_BOARD is ↵Benny Prijono
enabled (re #1320, thanks Bo Shi for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3730 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-29Added build instruction to vidgui sample (re #1327)Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3729 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-29Fixed #1354: stopping preview may hide parent window.Liong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3728 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-26Re #1327 (vidgui): Minor fix on windows VidWin::attach(), applying window ↵Nanang Izzuddin
style WS_CHILD to unattached/unparented SDL window causes strange behavior: after parented to a QWidget, it doesn't follow the parent/QWidget movement but its coordinate is relative to the parent/QWidget. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3727 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-26Re #1327:Nanang Izzuddin
- Vidgui UI updates on Qt must be done in the UI thread, implemented this with Qt signal-slot mechanism. - VidWin::show() better be called internally by VidWin class instead of MainWin. - Fix QString to const char* issue, keeping the pointer returned by "QString::to*()::data()" won't work, the pointer actually points to a temporary data (lifetime issue). - Minor: cleaning up unused lines in vidgui. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3726 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-26Fixed #1352:Nanang Izzuddin
- Updated maximum video tee ports in pjsua video preview to (PJSUA_MAX_CALLS+1). - Removed video tee maximum ports compile-time setting, MAX_DST_PORT_COUNT. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3725 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-25Re #1351: option to initially hide video preview window to avoid floating ↵Benny Prijono
window. Also added pjsua_vid_preview_param_default() git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3724 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-25Re #1349: Fixed a potential problem when stopping the video port. We should ↵Liong Sauw Ming
stop the clock first then stop the stream. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3723 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-25Fixed #1349:Liong Sauw Ming
It seems that QTCaptureSession's stopRunning only posts a message to stop the input worker thread so we need to make sure the message is processed if it is called from the main thread. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3722 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-24Re #1327 (vidgui): Fix stuck/hang when quiting vidgui without stopping video ↵Nanang Izzuddin
preview. Somehow the SDL will stuck (wait forever) in destroying its render window when the render window parent (VidWin) hasn't been destroyed. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3721 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-24Fixed #1334: Fix the problem of getting stuck when trying to quit SDL.Liong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3720 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-24Re #1327 (vidgui): added --silent option when invoking make otherwise it ↵Benny Prijono
will capture gibberish when running make to regenerate the files git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3719 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-24Re #1334:Liong Sauw Ming
* Removed support for SDL 1.2 * Add job queue inside SDL git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3718 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-19Re #1346 (python test fixes): Disabled (temporarily) ↵Nanang Izzuddin
{{{scripts-call/150_srtp_2_3.py}}} as this scenario requires SRTP optional-with-duplicated-media (ticket #1267). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3717 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-19Re #1346 (python test fixes): Updated test scenario that requires pjsua to ↵Nanang Izzuddin
generate multiple media offer using --extra-audio instead of using --use-srtp=3 (optional-with-duplicated-media). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3716 74dad513-b988-da41-8d7b-12977e46ad98