summaryrefslogtreecommitdiff
path: root/pjmedia
AgeCommit message (Collapse)Author
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 #1234: minor update, put libavcodec version check for constant ↵Nanang Izzuddin
AV_PICTURE_TYPE_I/FF_I_TYPE usage. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3904 74dad513-b988-da41-8d7b-12977e46ad98
2011-12-08Re #1420: Removed old event publication init in QT and iOS dev.Liong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3902 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-07Re #1420: Releases the mutex before invoking the callback from the worker ↵Liong Sauw Ming
thread. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3899 74dad513-b988-da41-8d7b-12977e46ad98
2011-12-05Re #1420: Fixed event source information in pjmedia vid_streamLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3898 74dad513-b988-da41-8d7b-12977e46ad98
2011-12-05Re #1420: Fixed event propagation from video stream to video port.Liong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3897 74dad513-b988-da41-8d7b-12977e46ad98
2011-12-02Re #1420: event change for V4L2 deviceBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3895 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-11-30Fixed problem with selecting audio codec if rtpmap is omitted from the SDP ↵Benny Prijono
for the static PT (re #1393, thanks Régis Montoya for the fix!) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3890 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 #1393): disable jbuf tracingBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3874 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-28Fixed #1406: Add info about ICE candidates being used in transport info and ↵Benny Prijono
pjsua's call dump output git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3872 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-27Close #1404: handle static payload types match in pjmedia_sdp_neg_fmt_match().Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3869 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-26Re #1390: Updated h264 settings: bitrate from 128k to 512k, size from ↵Nanang Izzuddin
352x288 to 720x480, x264 preset from 'veryslow' to 'veryfast'. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3861 74dad513-b988-da41-8d7b-12977e46ad98
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