summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-24Fixed #1394: Concurrency problem when stopping clock threadBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3840 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-24Misc (re #1393): fixed wrong libavutil version detectionBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3839 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-24Misc (re #1393): Put log warning in ffmpeg codecs when a codec is enabled ↵Nanang Izzuddin
but cannot be found in ffmpeg library. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3838 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-23Misc (re #1393): increase default H.263 bandwidthBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3836 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-23Fixed #1392: Immediately decode incoming frames to avoid loosing key frames ↵Benny Prijono
when the jbuf is full and improve latency git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3835 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-21Re #1390: Fixed ffmpeg codecs to update size & fps in AVCodecContext after ↵Nanang Izzuddin
applying SDP fmtp to codec param. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3833 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-18Added libz in aconfigure as this is needed by newer ffmpeg (re #1390)Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3827 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-18Compile error with older ffmpeg due to H.264 modification (re #1390)Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3824 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-18Re #1390: Fixed possible compile error in ffmpeg_util.c, the new ffmpeg ↵Nanang Izzuddin
format PIX_FMT_GBR24P is only available in libavutil 51.20.1 onward. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3823 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-10Changed version to 2.0-alpha2-svnBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3808 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-10Changed version to 2.0-alpha2Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3806 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-10Set default H.263 bandwidth to 128Kbps instead of 1Mbps (re #1370)Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3805 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-07Closed #1382: Handle flipped image in dshowLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3803 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-06Misc (re #1370): limit the number of error messages caused by error in ↵Benny Prijono
send_rtp() git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3802 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-06Misc (re #1370): disable H263 codec for RTP communication (was enabled to ↵Nanang Izzuddin
test whether it can use H263-1998 packetization). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3801 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): 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-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-06Re #1370: Fixed dshow enumeration device capability.Liong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3797 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-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-10-06Re #1370: fixed a bug which accidentally overwrites the function parameter.Liong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3794 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): vid_dev_stream should not call start() if it is already ↵Benny Prijono
been started git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3792 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-06Misc (re #1370): removed dead code in session.cBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3791 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 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-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