summaryrefslogtreecommitdiff
path: root/pjmedia
AgeCommit message (Collapse)Author
2011-10-25Re #1300: Bug in updating SDP rtpmap in symmetric PT when PT offer is ↵Nanang Izzuddin
shorter than our default, the rtpmap value length was not updated. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3856 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-25More re #1394: handle the case when clock_stop() is called from within the ↵Benny Prijono
clock callback itself git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3854 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-25Re #1390: disable H264 encoder source format RGB24 as x264 doesn't support ↵Nanang Izzuddin
4:4:4 for baseline profile. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3853 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-25Minor (#1393): compilation warning with snprintf formatBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3848 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-25More #1394: fixed deadlock when format change is reported by vid_stream, ↵Benny Prijono
which cause the clock to stop. It waits for the callback to return, but the callback is waiting to lock the jb_mutex, which is currently being held by the stopping clock. The workaround is to queue the event and report it later git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3847 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-24Re #1300: fixed bug when looking for non-telephone-events codec in the ↵Benny Prijono
incoming INVITE causing it to rejects with 488 git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3842 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-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-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-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-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-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): 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-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): 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-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-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-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-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-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-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-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 #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-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-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 #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-19Fixed #1348:Nanang Izzuddin
- updated the year in all copyright texts with 2011 - put copyright text into newly added files git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3715 74dad513-b988-da41-8d7b-12977e46ad98